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.001328/0.001328, allocations: 110.9 kB / 16.4 MB, free: 6.379 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.001223/0.001223, allocations: 190 kB / 17.33 MB, free: 5.844 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2141/0.2141, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.002198/0.002198, allocations: 67.89 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1058, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02285/0.1287, allocations: 17.61 MB / 0.5046 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.1391, allocations: 7.007 MB / 0.5114 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009808/0.1402, allocations: 27.88 kB / 0.5115 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.1416, allocations: 377.6 kB / 0.5118 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.1435, allocations: 0.6644 MB / 0.5125 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003924/0.1475, allocations: 1.328 MB / 0.5138 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003777/0.1513, allocations: 2.498 MB / 0.5162 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.1527, allocations: 0.6817 MB / 0.5169 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.1551, allocations: 1.028 MB / 0.5179 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.1567, allocations: 0.7551 MB / 0.5186 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003272/0.157, allocations: 88 kB / 0.5187 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.1587, allocations: 0.5305 MB / 0.5192 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005743/0.1593, allocations: 379 kB / 0.5196 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009491/0.1602, allocations: 0.5134 MB / 0.5201 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.1631, allocations: 1.534 MB / 0.5216 GB, free: 9.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1631, allocations: 0 / 0.5216 GB, free: 9.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1631, allocations: 0 / 0.5216 GB, free: 9.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.796e-05/0.1632, allocations: 4 kB / 0.5216 GB, free: 9.156 MB / 414.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.003206/0.1664, allocations: 1.309 MB / 0.5229 GB, free: 7.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1665, allocations: 15.83 kB / 0.5229 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002363/0.1667, allocations: 143.2 kB / 0.523 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005262/0.1672, allocations: 124.3 kB / 0.5231 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1684, allocations: 0.6304 MB / 0.5237 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.1686, allocations: 252.8 kB / 0.524 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.1688, allocations: 80.12 kB / 0.5241 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.171, allocations: 1.301 MB / 0.5253 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/0.171, allocations: 7.938 kB / 0.5253 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.1711, allocations: 40 kB / 0.5254 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/0.1712, allocations: 37.3 kB / 0.5254 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.173, allocations: 0.9688 MB / 0.5264 GB, free: 3.988 MB / 414.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.2052/0.3782, allocations: 7.074 MB / 0.5333 GB, free: 37.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.3788, allocations: 320.5 kB / 0.5336 GB, free: 37.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.379, allocations: 174.3 kB / 0.5337 GB, free: 37.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002033/0.3811, allocations: 2.827 MB / 0.5365 GB, free: 35.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.3811, allocations: 45.45 kB / 0.5365 GB, free: 35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.3811, allocations: 0 / 0.5365 GB, free: 35 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002134/0.3833, allocations: 1.117 MB / 0.5376 GB, free: 34.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.3833, allocations: 61.06 kB / 0.5377 GB, free: 34.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.3844, allocations: 0.8742 MB / 0.5385 GB, free: 34.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.3844, allocations: 32.94 kB / 0.5386 GB, free: 34.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.3847, allocations: 0.5869 MB / 0.5391 GB, free: 33.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.3848, allocations: 142.6 kB / 0.5393 GB, free: 33.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.385, allocations: 247 kB / 0.5395 GB, free: 33.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3852, allocations: 395.9 kB / 0.5399 GB, free: 33.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.3856, allocations: 244.9 kB / 0.5401 GB, free: 33.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006144/0.3862, allocations: 0.9611 MB / 0.5411 GB, free: 32.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.3872, allocations: 1.321 MB / 0.5424 GB, free: 31.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.3872, allocations: 7.156 kB / 0.5424 GB, free: 31.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001691/0.3889, allocations: 1.215 MB / 0.5436 GB, free: 31.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.389, allocations: 18.48 kB / 0.5436 GB, free: 31.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.389, allocations: 32.69 kB / 0.5436 GB, free: 31.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-05/0.3891, allocations: 37.78 kB / 0.5436 GB, free: 31.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007469/0.3898, allocations: 276.2 kB / 0.5439 GB, free: 31.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.83e-05/0.3899, allocations: 52.34 kB / 0.5439 GB, free: 31.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006955/0.3906, allocations: 51.94 kB / 0.544 GB, free: 31.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/0.3907, allocations: 76.91 kB / 0.5441 GB, free: 31.06 MB / 414.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.0003844/0.391, allocations: 335.2 kB / 0.5444 GB, free: 30.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.3912, allocations: 95.44 kB / 0.5445 GB, free: 30.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007919/0.392, allocations: 473.9 kB / 0.5449 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.392, allocations: 4.766 kB / 0.5449 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.392, allocations: 1.172 kB / 0.5449 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.392, allocations: 5.688 kB / 0.5449 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.3936, allocations: 1.239 MB / 0.5462 GB, free: 29.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3936, allocations: 2.094 kB / 0.5462 GB, free: 29.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.3939, allocations: 71.19 kB / 0.5462 GB, free: 29.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.3939, allocations: 6.812 kB / 0.5462 GB, free: 29.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.3939, allocations: 13.23 kB / 0.5462 GB, free: 29.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.3939, allocations: 4.109 kB / 0.5462 GB, free: 29.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.394, allocations: 10.69 kB / 0.5463 GB, free: 29.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/0.3948, allocations: 0.6502 MB / 0.5469 GB, free: 29.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.3951, allocations: 205.4 kB / 0.5471 GB, free: 29.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3952, allocations: 12.72 kB / 0.5471 GB, free: 29.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.3956, allocations: 15.23 kB / 0.5471 GB, free: 29.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.3957, allocations: 32.36 kB / 0.5471 GB, free: 29.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.3957, allocations: 25.16 kB / 0.5472 GB, free: 29.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000745/0.3965, allocations: 0.5936 MB / 0.5478 GB, free: 28.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3965, allocations: 3.031 kB / 0.5478 GB, free: 28.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001492/0.398, allocations: 299.4 kB / 0.548 GB, free: 28.86 MB / 414.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.001862/0.3998, allocations: 1.427 MB / 0.5494 GB, free: 27.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.401, allocations: 0.6383 MB / 0.5501 GB, free: 27.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.401, allocations: 1.594 kB / 0.5501 GB, free: 27.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.4013, allocations: 149.2 kB / 0.5502 GB, free: 27.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.4032, allocations: 421.4 kB / 0.5506 GB, free: 27.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009584/0.4128, allocations: 8.036 MB / 0.5585 GB, free: 22.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.4134, allocations: 0.9935 MB / 0.5594 GB, free: 21.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00121/0.4147, allocations: 317.9 kB / 0.5597 GB, free: 21.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/0.415, allocations: 302.4 kB / 0.56 GB, free: 21.08 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.415, allocations: 0.875 kB / 0.56 GB, free: 21.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05163/0.4667, allocations: 24.69 MB / 0.5841 GB, free: 1.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.478/9.944, allocations: 19.89 kB / 0.5841 GB, free: 1.695 MB / 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