Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 104 kB / 16.27 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 190.8 kB / 17.2 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2068/0.2068, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 70.33 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1096, allocations: 57.78 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01564/0.1253, allocations: 17.62 MB / 458.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009099/0.1345, allocations: 6.999 MB / 465.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009093/0.1354, allocations: 23.81 kB / 465.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.1368, allocations: 373.6 kB / 465.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.1387, allocations: 0.6683 MB / 466.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003965/0.1426, allocations: 1.327 MB / 467.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003621/0.1463, allocations: 2.505 MB / 470.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.1478, allocations: 0.6857 MB / 470.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/0.1504, allocations: 1.028 MB / 471.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.1518, allocations: 0.7551 MB / 472.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004129/0.1522, allocations: 91.94 kB / 472.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.1541, allocations: 0.5305 MB / 473.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005706/0.1546, allocations: 367 kB / 473.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.1557, allocations: 0.5212 MB / 474.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.1585, allocations: 1.511 MB / 475.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1585, allocations: 0 / 475.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1585, allocations: 0 / 475.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.318e-05/0.1586, allocations: 4 kB / 475.6 MB, free: 3.715 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003131/0.1617, allocations: 1.29 MB / 476.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.1618, allocations: 19.89 kB / 476.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002318/0.162, allocations: 143.2 kB / 477.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005457/0.1626, allocations: 115.8 kB / 477.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.1636, allocations: 0.5872 MB / 477.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.1638, allocations: 248.8 kB / 478 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.164, allocations: 84.12 kB / 478.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.1661, allocations: 1.297 MB / 479.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.1661, allocations: 11.92 kB / 479.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.1662, allocations: 40 kB / 479.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.947e-05/0.1663, allocations: 41.25 kB / 479.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.1679, allocations: 0.9649 MB / 480.4 MB, free: 14.62 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007218/0.1752, allocations: 7.109 MB / 487.5 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.1757, allocations: 308.1 kB / 487.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.176, allocations: 173.4 kB / 488 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002601/0.1786, allocations: 2.822 MB / 490.8 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.1787, allocations: 46.72 kB / 490.9 MB, free: 3.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.874e-06/0.1787, allocations: 0 / 490.9 MB, free: 3.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.00278/0.1815, allocations: 1.112 MB / 492 MB, free: 2.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.1816, allocations: 55.41 kB / 492 MB, free: 1.949 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.1828, allocations: 0.8641 MB / 492.9 MB, free: 1.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.1828, allocations: 33.7 kB / 492.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.1832, allocations: 0.5743 MB / 493.5 MB, free: 464 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.1833, allocations: 138.3 kB / 493.7 MB, free: 324 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.1837, allocations: 238.5 kB / 493.9 MB, free: 80 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1838, allocations: 402.7 kB / 494.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.1843, allocations: 246.5 kB / 494.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009054/0.1852, allocations: 0.966 MB / 495.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.1867, allocations: 1.319 MB / 496.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/0.1867, allocations: 8 kB / 496.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002062/0.1887, allocations: 1.211 MB / 498 MB, free: 11.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.1888, allocations: 16 kB / 498 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/0.1888, allocations: 24 kB / 498.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.798e-05/0.1889, allocations: 39.94 kB / 498.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008274/0.1897, allocations: 275.5 kB / 498.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.025e-05/0.1898, allocations: 47.8 kB / 498.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008235/0.1906, allocations: 52 kB / 498.5 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.1908, allocations: 79.98 kB / 498.5 MB, free: 10.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006117/0.1914, allocations: 337.1 kB / 498.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.1916, allocations: 90.95 kB / 499 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.1927, allocations: 479.3 kB / 499.4 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.1927, allocations: 4 kB / 499.4 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1927, allocations: 0 / 499.4 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1927, allocations: 3.984 kB / 499.4 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.1948, allocations: 1.235 MB / 0.4889 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.1949, allocations: 3.938 kB / 0.4889 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.1952, allocations: 75.89 kB / 0.489 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1952, allocations: 0 / 0.489 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.1952, allocations: 8 kB / 0.489 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1952, allocations: 8 kB / 0.489 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.1952, allocations: 4 kB / 0.489 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.1963, allocations: 0.6483 MB / 0.4897 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.1966, allocations: 203.9 kB / 0.4899 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.1968, allocations: 12 kB / 0.4899 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.1973, allocations: 15.98 kB / 0.4899 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.1973, allocations: 23.97 kB / 0.4899 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-05/0.1974, allocations: 23.98 kB / 0.4899 GB, free: 7.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008282/0.1982, allocations: 0.5969 MB / 0.4905 GB, free: 6.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1982, allocations: 0 / 0.4905 GB, free: 6.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00134/0.1996, allocations: 299.9 kB / 0.4908 GB, free: 6.434 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002111/0.2017, allocations: 1.423 MB / 0.4922 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.203, allocations: 0.6575 MB / 0.4928 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.203, allocations: 0 / 0.4928 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.2033, allocations: 154.3 kB / 0.493 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.2055, allocations: 416.8 kB / 0.4934 GB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.2181, allocations: 8.44 MB / 0.5016 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007279/0.2189, allocations: 0.9973 MB / 0.5026 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001244/0.2202, allocations: 330.6 kB / 0.5029 GB, free: 9.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004645/0.2207, allocations: 295.3 kB / 0.5032 GB, free: 8.758 MB / 398.1 MB Notification: Performance of SimCode: time 1.403e-06/0.2207, allocations: 0 / 0.5032 GB, free: 8.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0596/0.2803, allocations: 24.39 MB / 0.527 GB, free: 364 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.384/8.665, allocations: 7.891 kB / 0.527 GB, free: 356 kB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches