Changeset 34cbf88 in OpenModelica
- Timestamp:
- 2021-02-10T10:44:33+01:00 (3 years ago)
- Parents:
- 0121e58
- Location:
- testsuite/openmodelica
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuite/openmodelica/cppruntime/fmu/modelExchange/2.0/testArrayEquations.mos
r221b299 r34cbf88 79 79 // modelIdentifier=\"ArrayEquationsTest\"> 80 80 // </ModelExchange> 81 // <TypeDefinitions>82 // <Clocks>83 // <Clock><Inferred84 // interval=\"0.1\"85 // /></Clock>86 // </Clocks>87 // </TypeDefinitions>88 81 // <LogCategories> 89 82 // <Category name=\"logEvents\" /> … … 99 92 // <Category name=\"logFmi2Call\" /> 100 93 // </LogCategories> 101 // <DefaultExperiment startTime=\"0.0\" stopTime=\"1.0\" tolerance=\"1e-0 06\"/>94 // <DefaultExperiment startTime=\"0.0\" stopTime=\"1.0\" tolerance=\"1e-06\"/> 102 95 // <ModelVariables> 103 96 // <!-- Index of variable = \"1\" --> … … 536 529 // valueReference=\"64\" 537 530 // variability=\"discrete\" 538 // previous=\"1\"539 531 // initial=\"exact\"> 540 532 // <Real/> … … 545 537 // valueReference=\"65\" 546 538 // variability=\"discrete\" 547 // previous=\"2\"548 539 // initial=\"exact\"> 549 540 // <Real/> … … 554 545 // valueReference=\"66\" 555 546 // variability=\"discrete\" 556 // previous=\"3\"557 547 // initial=\"exact\"> 558 548 // <Real/> … … 563 553 // valueReference=\"67\" 564 554 // variability=\"discrete\" 565 // previous=\"4\"566 555 // initial=\"exact\"> 567 556 // <Real/> … … 572 561 // valueReference=\"68\" 573 562 // variability=\"discrete\" 574 // previous=\"5\"575 563 // initial=\"exact\"> 576 564 // <Real/> … … 581 569 // valueReference=\"69\" 582 570 // variability=\"discrete\" 583 // previous=\"6\"584 571 // initial=\"exact\"> 585 572 // <Real/> … … 590 577 // valueReference=\"70\" 591 578 // variability=\"discrete\" 592 // previous=\"7\"593 579 // initial=\"exact\"> 594 580 // <Real/> … … 599 585 // valueReference=\"71\" 600 586 // variability=\"discrete\" 601 // previous=\"8\"602 587 // initial=\"exact\"> 603 588 // <Real/> … … 608 593 // valueReference=\"72\" 609 594 // variability=\"discrete\" 610 // previous=\"9\"611 595 // initial=\"exact\"> 612 596 // <Real/> … … 617 601 // valueReference=\"73\" 618 602 // variability=\"discrete\" 619 // previous=\"10\"620 603 // initial=\"exact\"> 621 604 // <Real/> … … 626 609 // valueReference=\"74\" 627 610 // variability=\"discrete\" 628 // previous=\"11\"629 611 // initial=\"exact\"> 630 612 // <Real/> … … 635 617 // valueReference=\"75\" 636 618 // variability=\"discrete\" 637 // previous=\"12\"638 619 // initial=\"exact\"> 639 620 // <Real/> … … 644 625 // valueReference=\"76\" 645 626 // variability=\"discrete\" 646 // previous=\"13\"647 627 // initial=\"exact\"> 648 628 // <Real/> … … 653 633 // valueReference=\"77\" 654 634 // variability=\"discrete\" 655 // previous=\"14\"656 635 // initial=\"exact\"> 657 636 // <Real/> … … 662 641 // valueReference=\"78\" 663 642 // variability=\"discrete\" 664 // previous=\"15\"665 643 // initial=\"exact\"> 666 644 // <Real/> … … 671 649 // valueReference=\"79\" 672 650 // variability=\"discrete\" 673 // previous=\"16\"674 651 // initial=\"exact\"> 675 652 // <Real/> … … 680 657 // valueReference=\"80\" 681 658 // variability=\"discrete\" 682 // previous=\"17\"683 659 // initial=\"exact\"> 684 660 // <Real/> … … 689 665 // valueReference=\"81\" 690 666 // variability=\"discrete\" 691 // previous=\"18\"692 667 // initial=\"exact\"> 693 668 // <Real/> … … 698 673 // valueReference=\"82\" 699 674 // variability=\"discrete\" 700 // previous=\"19\"701 675 // initial=\"exact\"> 702 676 // <Real/> … … 707 681 // valueReference=\"83\" 708 682 // variability=\"discrete\" 709 // previous=\"20\"710 683 // initial=\"exact\"> 711 684 // <Real/> … … 716 689 // valueReference=\"84\" 717 690 // variability=\"discrete\" 718 // previous=\"21\"719 691 // initial=\"exact\"> 720 692 // <Real/> … … 725 697 // valueReference=\"85\" 726 698 // variability=\"discrete\" 727 // previous=\"22\"728 699 // initial=\"exact\"> 729 700 // <Real/> … … 734 705 // valueReference=\"86\" 735 706 // variability=\"discrete\" 736 // previous=\"23\"737 707 // initial=\"exact\"> 738 708 // <Real/> … … 743 713 // valueReference=\"87\" 744 714 // variability=\"discrete\" 745 // previous=\"24\"746 715 // initial=\"exact\"> 747 716 // <Real/> … … 752 721 // valueReference=\"88\" 753 722 // variability=\"discrete\" 754 // previous=\"25\"755 723 // initial=\"exact\"> 756 724 // <Real/> … … 761 729 // valueReference=\"89\" 762 730 // variability=\"discrete\" 763 // previous=\"26\"764 731 // initial=\"exact\"> 765 732 // <Real/> … … 770 737 // valueReference=\"90\" 771 738 // variability=\"discrete\" 772 // previous=\"27\"773 739 // initial=\"exact\"> 774 740 // <Real/> … … 779 745 // valueReference=\"91\" 780 746 // variability=\"discrete\" 781 // previous=\"28\"782 747 // initial=\"exact\"> 783 748 // <Real/> … … 788 753 // valueReference=\"92\" 789 754 // variability=\"discrete\" 790 // previous=\"29\"791 755 // initial=\"exact\"> 792 756 // <Real/> … … 797 761 // valueReference=\"93\" 798 762 // variability=\"discrete\" 799 // previous=\"30\"800 763 // initial=\"exact\"> 801 764 // <Real/> … … 806 769 // valueReference=\"94\" 807 770 // variability=\"discrete\" 808 // previous=\"31\"809 771 // initial=\"exact\"> 810 772 // <Real/> … … 815 777 // valueReference=\"95\" 816 778 // variability=\"discrete\" 817 // previous=\"32\"818 779 // initial=\"exact\"> 819 780 // <Real/> … … 824 785 // valueReference=\"96\" 825 786 // variability=\"discrete\" 826 // previous=\"33\"827 787 // initial=\"exact\"> 828 788 // <Real/> … … 833 793 // valueReference=\"97\" 834 794 // variability=\"discrete\" 835 // previous=\"34\"836 795 // initial=\"exact\"> 837 796 // <Real/> … … 842 801 // valueReference=\"98\" 843 802 // variability=\"discrete\" 844 // previous=\"35\"845 803 // initial=\"exact\"> 846 804 // <Real/> … … 851 809 // valueReference=\"99\" 852 810 // variability=\"discrete\" 853 // previous=\"36\"854 811 // initial=\"exact\"> 855 812 // <Real/> … … 860 817 // valueReference=\"100\" 861 818 // variability=\"discrete\" 862 // previous=\"37\"863 819 // initial=\"exact\"> 864 820 // <Real/> … … 869 825 // valueReference=\"101\" 870 826 // variability=\"discrete\" 871 // previous=\"38\"872 827 // initial=\"exact\"> 873 828 // <Real/> … … 878 833 // valueReference=\"102\" 879 834 // variability=\"discrete\" 880 // previous=\"39\"881 835 // initial=\"exact\"> 882 836 // <Real/> … … 887 841 // valueReference=\"103\" 888 842 // variability=\"discrete\" 889 // previous=\"40\"890 843 // initial=\"exact\"> 891 844 // <Real/> … … 897 850 // variability=\"discrete\" 898 851 // causality=\"output\" 899 // clockIndex=\"1\"900 852 // > 901 853 // <Real/> … … 907 859 // variability=\"discrete\" 908 860 // causality=\"output\" 909 // clockIndex=\"1\"910 861 // > 911 862 // <Real/> … … 917 868 // variability=\"discrete\" 918 869 // causality=\"output\" 919 // clockIndex=\"1\"920 870 // > 921 871 // <Real/> … … 927 877 // variability=\"discrete\" 928 878 // causality=\"output\" 929 // clockIndex=\"1\"930 879 // > 931 880 // <Real/> -
testsuite/openmodelica/cppruntime/fmu/modelExchange/2.0/testCSTR.mos
r221b299 r34cbf88 97 97 // </Unit> 98 98 // <Unit name=\"kJ/h\"> 99 // <BaseUnit m=\"2\" s=\"-3\" kg=\"1\" factor=\"0.277777777777777 9\" />99 // <BaseUnit m=\"2\" s=\"-3\" kg=\"1\" factor=\"0.2777777777777778\" /> 100 100 // </Unit> 101 101 // <Unit name=\"mol/l\"> … … 106 106 // </Unit> 107 107 // </UnitDefinitions> 108 // <TypeDefinitions>109 // <Clocks>110 // <Clock><Inferred111 // interval=\"20.0\"112 // /></Clock>113 // </Clocks>114 // </TypeDefinitions>115 108 // <LogCategories> 116 109 // <Category name=\"logEvents\" /> … … 126 119 // <Category name=\"logFmi2Call\" /> 127 120 // </LogCategories> 128 // <DefaultExperiment startTime=\"0.0\" stopTime=\"1.0\" tolerance=\"1e-0 06\"/>121 // <DefaultExperiment startTime=\"0.0\" stopTime=\"1.0\" tolerance=\"1e-06\"/> 129 122 // <ModelVariables> 130 123 // <!-- Index of variable = \"1\" --> … … 134 127 // description=\"Coolant temperature\" 135 128 // variability=\"discrete\" 136 // clockIndex=\"1\"137 129 // > 138 130 // <Real nominal=\"100.0\" unit=\"degC\"/> … … 144 136 // description=\"Concentration\" 145 137 // variability=\"discrete\" 146 // clockIndex=\"1\"147 138 // > 148 139 // <Real unit=\"mol/l\"/> … … 154 145 // description=\"Concentration\" 155 146 // variability=\"discrete\" 156 // clockIndex=\"1\"157 147 // > 158 148 // <Real unit=\"mol/l\"/> … … 163 153 // valueReference=\"3\" 164 154 // variability=\"discrete\" 165 // clockIndex=\"1\"166 155 // > 167 156 // <Real nominal=\"100.0\" unit=\"degC\"/> … … 172 161 // valueReference=\"4\" 173 162 // variability=\"discrete\" 174 // clockIndex=\"1\"175 163 // > 176 164 // <Real/> … … 181 169 // valueReference=\"5\" 182 170 // variability=\"discrete\" 183 // clockIndex=\"1\"184 171 // > 185 172 // <Real/> … … 190 177 // valueReference=\"6\" 191 178 // variability=\"discrete\" 192 // clockIndex=\"1\"193 179 // > 194 180 // <Real/> … … 199 185 // valueReference=\"7\" 200 186 // variability=\"discrete\" 201 // clockIndex=\"1\"202 187 // > 203 188 // <Real/> … … 209 194 // description=\"Coolant temperature\" 210 195 // variability=\"discrete\" 211 // clockIndex=\"1\"212 // previous=\"1\"213 196 // initial=\"exact\"> 214 197 // <Real start=\"112.9\" nominal=\"100.0\" unit=\"degC\"/> … … 220 203 // description=\"Concentration\" 221 204 // variability=\"discrete\" 222 // clockIndex=\"1\"223 // previous=\"2\"224 205 // initial=\"exact\"> 225 206 // <Real start=\"2.14\" unit=\"mol/l\"/> … … 231 212 // description=\"Concentration\" 232 213 // variability=\"discrete\" 233 // clockIndex=\"1\"234 // previous=\"3\"235 214 // initial=\"exact\"> 236 215 // <Real start=\"1.09\" unit=\"mol/l\"/> … … 250 229 // valueReference=\"15\" 251 230 // variability=\"discrete\" 252 // clockIndex=\"1\"253 231 // > 254 232 // <Real/> … … 259 237 // valueReference=\"16\" 260 238 // variability=\"discrete\" 261 // clockIndex=\"1\"262 // previous=\"4\"263 239 // initial=\"exact\"> 264 240 // <Real start=\"114.2\" nominal=\"100.0\" unit=\"degC\"/> … … 280 256 // variability=\"discrete\" 281 257 // causality=\"output\" 282 // clockIndex=\"1\"283 258 // > 284 259 // <Real nominal=\"100.0\" unit=\"degC\"/> … … 300 275 // variability=\"discrete\" 301 276 // causality=\"output\" 302 // clockIndex=\"1\"303 277 // > 304 278 // <Real unit=\"mol/l\"/> … … 311 285 // variability=\"discrete\" 312 286 // causality=\"output\" 313 // clockIndex=\"1\"314 287 // > 315 288 // <Real unit=\"mol/l\"/> … … 320 293 // valueReference=\"22\" 321 294 // variability=\"discrete\" 322 // clockIndex=\"1\"323 295 // > 324 296 // <Real/> … … 329 301 // valueReference=\"23\" 330 302 // variability=\"discrete\" 331 // clockIndex=\"1\"332 303 // > 333 304 // <Real/> … … 338 309 // valueReference=\"24\" 339 310 // variability=\"discrete\" 340 // clockIndex=\"1\"341 311 // > 342 312 // <Real/> … … 470 440 // causality=\"parameter\" 471 441 // > 472 // <Real start=\"2511944.44444444 5\"/>442 // <Real start=\"2511944.444444444\"/> 473 443 // </ScalarVariable> 474 444 // <!-- Index of variable = \"37\" --> … … 498 468 // causality=\"parameter\" 499 469 // > 500 // <Real start=\"934.2 000000000001\" min=\"0.0\" unit=\"kg/m3\"/>470 // <Real start=\"934.2\" min=\"0.0\" unit=\"kg/m3\"/> 501 471 // </ScalarVariable> 502 472 // <!-- Index of variable = \"40\" --> -
testsuite/openmodelica/cppruntime/fmu/modelExchange/2.0/testClockDescription.mos
r221b299 r34cbf88 64 64 // modelIdentifier=\"SubClocks\"> 65 65 // </ModelExchange> 66 // <TypeDefinitions>67 // <Clocks>68 // <Clock><Inferred69 // intervalCounter=\"9\"70 // shiftCounter=\"2\"71 // resolution=\"6\"72 // /></Clock>73 // <Clock><Inferred74 // intervalCounter=\"36\"75 // shiftCounter=\"2\"76 // resolution=\"12\"77 // /></Clock>78 // <Clock><Inferred79 // intervalCounter=\"4\"80 // shiftCounter=\"2\"81 // resolution=\"4\"82 // /></Clock>83 // <Clock><Inferred84 // intervalCounter=\"2\"85 // resolution=\"2\"86 // /></Clock>87 // <Clock><Inferred88 // interval=\"0.5\"89 // shiftCounter=\"1\"90 // /></Clock>91 // </Clocks>92 // </TypeDefinitions>93 66 // <LogCategories> 94 67 // <Category name=\"logEvents\" /> … … 111 84 // valueReference=\"0\" 112 85 // variability=\"discrete\" 113 // clockIndex=\"4\"114 86 // > 115 87 // <Real/> … … 120 92 // valueReference=\"1\" 121 93 // variability=\"discrete\" 122 // clockIndex=\"3\"123 94 // > 124 95 // <Real/> … … 129 100 // valueReference=\"2\" 130 101 // variability=\"discrete\" 131 // clockIndex=\"2\"132 102 // > 133 103 // <Real/> … … 138 108 // valueReference=\"3\" 139 109 // variability=\"discrete\" 140 // clockIndex=\"1\"141 110 // > 142 111 // <Real/> … … 147 116 // valueReference=\"4\" 148 117 // variability=\"discrete\" 149 // clockIndex=\"5\"150 118 // > 151 119 // <Real/> -
testsuite/openmodelica/cppruntime/fmu/modelExchange/2.0/testModelDescription.mos
r221b299 r34cbf88 49 49 // modelIdentifier=\"SIDTest\"> 50 50 // </ModelExchange> 51 // <TypeDefinitions>52 // <Clocks>53 // <Clock><Inferred54 // interval=\"0.2\"55 // shiftCounter=\"3\"56 // /></Clock>57 // </Clocks>58 // </TypeDefinitions>59 51 // <LogCategories> 60 52 // <Category name=\"logEvents\" /> … … 70 62 // <Category name=\"logFmi2Call\" /> 71 63 // </LogCategories> 72 // <DefaultExperiment startTime=\"0.0\" stopTime=\"1.0\" tolerance=\"1e-0 06\"/>64 // <DefaultExperiment startTime=\"0.0\" stopTime=\"1.0\" tolerance=\"1e-06\"/> 73 65 // <ModelVariables> 74 66 // <!-- Index of variable = \"1\" --> … … 77 69 // valueReference=\"0\" 78 70 // variability=\"discrete\" 79 // clockIndex=\"1\"80 71 // > 81 72 // <Real/> … … 94 85 // valueReference=\"3\" 95 86 // variability=\"discrete\" 96 // clockIndex=\"1\"97 // previous=\"1\"98 87 // > 99 88 // <Real/> … … 105 94 // variability=\"discrete\" 106 95 // causality=\"output\" 107 // clockIndex=\"1\"108 96 // > 109 97 // <Real/> -
testsuite/openmodelica/cppruntime/fmu/modelExchange/2.0/ticket6296.mos
rbace85d1 r34cbf88 203 203 // valueReference=\"31\" 204 204 // variability=\"discrete\" 205 // previous=\"1\"206 205 // initial=\"exact\"> 207 206 // <Real/> … … 212 211 // valueReference=\"32\" 213 212 // variability=\"discrete\" 214 // previous=\"2\"215 213 // initial=\"exact\"> 216 214 // <Real/> … … 221 219 // valueReference=\"33\" 222 220 // variability=\"discrete\" 223 // previous=\"3\"224 221 // initial=\"exact\"> 225 222 // <Real/> … … 230 227 // valueReference=\"34\" 231 228 // variability=\"discrete\" 232 // previous=\"4\"233 229 // initial=\"exact\"> 234 230 // <Real/> … … 239 235 // valueReference=\"35\" 240 236 // variability=\"discrete\" 241 // previous=\"5\"242 237 // initial=\"exact\"> 243 238 // <Real/> … … 248 243 // valueReference=\"36\" 249 244 // variability=\"discrete\" 250 // previous=\"6\"251 245 // initial=\"exact\"> 252 246 // <Real/> … … 257 251 // valueReference=\"37\" 258 252 // variability=\"discrete\" 259 // previous=\"7\"260 253 // initial=\"exact\"> 261 254 // <Real/> … … 266 259 // valueReference=\"38\" 267 260 // variability=\"discrete\" 268 // previous=\"8\"269 261 // initial=\"exact\"> 270 262 // <Real/> … … 275 267 // valueReference=\"39\" 276 268 // variability=\"discrete\" 277 // previous=\"9\"278 269 // initial=\"exact\"> 279 270 // <Real/> … … 284 275 // valueReference=\"40\" 285 276 // variability=\"discrete\" 286 // previous=\"10\"287 277 // initial=\"exact\"> 288 278 // <Real/> … … 294 284 // variability=\"discrete\" 295 285 // causality=\"output\" 296 // clockIndex=\"1\"297 286 // > 298 287 // <Real/> -
testsuite/openmodelica/fmi/ModelExchange/2.0/testDisableDep.mos
r221b299 r34cbf88 121 121 // </SourceFiles> 122 122 // </ModelExchange> 123 // <TypeDefinitions>124 // <Clocks>125 // <Clock><Inferred/></Clock>126 // </Clocks>127 // </TypeDefinitions>128 123 // <LogCategories> 129 124 // <Category name=\"logEvents\" /> … … 174 169 // valueReference=\"4\" 175 170 // variability=\"discrete\" 176 // clockIndex=\"1\"177 171 // > 178 172 // <Real/> … … 183 177 // valueReference=\"5\" 184 178 // variability=\"discrete\" 185 // clockIndex=\"1\"186 179 // > 187 180 // <Real/> … … 192 185 // valueReference=\"6\" 193 186 // variability=\"discrete\" 194 // clockIndex=\"1\"195 187 // > 196 188 // <Real/> … … 201 193 // valueReference=\"7\" 202 194 // variability=\"discrete\" 203 // clockIndex=\"1\"204 195 // > 205 196 // <Real/> … … 210 201 // valueReference=\"8\" 211 202 // variability=\"discrete\" 212 // clockIndex=\"1\"213 // previous=\"5\"214 203 // > 215 204 // <Real/> … … 220 209 // valueReference=\"9\" 221 210 // variability=\"discrete\" 222 // clockIndex=\"1\"223 // previous=\"6\"224 211 // > 225 212 // <Real/> … … 238 225 // valueReference=\"11\" 239 226 // variability=\"discrete\" 240 // clockIndex=\"1\"241 227 // > 242 228 // <Real/> … … 248 234 // variability=\"discrete\" 249 235 // causality=\"output\" 250 // clockIndex=\"1\"251 236 // > 252 237 // <Real/> … … 258 243 // variability=\"discrete\" 259 244 // causality=\"output\" 260 // clockIndex=\"1\"261 245 // > 262 246 // <Real/> -
testsuite/openmodelica/fmi/ModelExchange/2.0/testDiscreteStructe.mos
r221b299 r34cbf88 117 117 // </SourceFiles> 118 118 // </ModelExchange> 119 // <TypeDefinitions>120 // <Clocks>121 // <Clock><Inferred/></Clock>122 // </Clocks>123 // </TypeDefinitions>124 119 // <LogCategories> 125 120 // <Category name=\"logEvents\" /> … … 142 137 // valueReference=\"0\" 143 138 // variability=\"discrete\" 144 // clockIndex=\"1\"145 139 // > 146 140 // <Real/> … … 151 145 // valueReference=\"1\" 152 146 // variability=\"discrete\" 153 // clockIndex=\"1\"154 147 // > 155 148 // <Real/> … … 160 153 // valueReference=\"2\" 161 154 // variability=\"discrete\" 162 // clockIndex=\"1\"163 155 // > 164 156 // <Real/> … … 169 161 // valueReference=\"3\" 170 162 // variability=\"discrete\" 171 // clockIndex=\"1\"172 163 // > 173 164 // <Real/> … … 178 169 // valueReference=\"4\" 179 170 // variability=\"discrete\" 180 // clockIndex=\"1\"181 // previous=\"1\"182 171 // > 183 172 // <Real/> … … 188 177 // valueReference=\"5\" 189 178 // variability=\"discrete\" 190 // clockIndex=\"1\"191 // previous=\"2\"192 179 // > 193 180 // <Real/> … … 206 193 // valueReference=\"7\" 207 194 // variability=\"discrete\" 208 // clockIndex=\"1\"209 195 // > 210 196 // <Real/> … … 216 202 // variability=\"discrete\" 217 203 // causality=\"output\" 218 // clockIndex=\"1\"219 204 // > 220 205 // <Real/> … … 226 211 // variability=\"discrete\" 227 212 // causality=\"output\" 228 // clockIndex=\"1\"229 213 // > 230 214 // <Real/>
Note: See TracChangeset
for help on using the changeset viewer.