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.001092/0.001092, allocations: 111 kB / 16.41 MB, free: 6.5 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.001108/0.001108, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.321/1.321, 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.2029/0.2029, allocations: 43.52 MB / 314.1 MB, free: 464 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.00133/0.00133, allocations: 67.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09383/0.09517, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02619/0.1214, allocations: 17.61 MB / 0.5046 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.1337, allocations: 7.007 MB / 0.5114 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.1348, allocations: 23.88 kB / 0.5115 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.1363, allocations: 373.6 kB / 0.5118 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.1385, allocations: 0.6801 MB / 0.5125 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003812/0.1423, allocations: 1.336 MB / 0.5138 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00391/0.1462, allocations: 2.51 MB / 0.5162 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.1476, allocations: 0.6856 MB / 0.5169 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.15, allocations: 1.036 MB / 0.5179 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.1515, allocations: 0.7512 MB / 0.5187 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.1518, allocations: 88 kB / 0.5187 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.1535, allocations: 0.5343 MB / 0.5193 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005187/0.1541, allocations: 383 kB / 0.5196 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008188/0.1549, allocations: 0.5056 MB / 0.5201 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.157, allocations: 1.542 MB / 0.5216 GB, free: 9.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.157, allocations: 0 / 0.5216 GB, free: 9.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.157, allocations: 4 kB / 0.5216 GB, free: 9.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.157, allocations: 0 / 0.5216 GB, free: 9.113 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.002237/0.1593, allocations: 1.316 MB / 0.5229 GB, free: 7.746 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1593, allocations: 11.89 kB / 0.5229 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.1595, allocations: 139.2 kB / 0.5231 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000436/0.1599, allocations: 128.3 kB / 0.5232 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.161, allocations: 0.6266 MB / 0.5238 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.1612, allocations: 244.8 kB / 0.524 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.1613, allocations: 88.06 kB / 0.5241 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.1631, allocations: 1.305 MB / 0.5254 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.1631, allocations: 7.938 kB / 0.5254 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.1632, allocations: 36 kB / 0.5254 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-05/0.1633, allocations: 49.23 kB / 0.5255 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.1647, allocations: 0.9649 MB / 0.5264 GB, free: 3.941 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.1936/0.3584, allocations: 7.072 MB / 0.5333 GB, free: 37.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.3589, allocations: 317.4 kB / 0.5336 GB, free: 37.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.3591, allocations: 172.8 kB / 0.5338 GB, free: 37.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001984/0.3611, allocations: 2.828 MB / 0.5365 GB, free: 35.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3612, allocations: 42.84 kB / 0.5366 GB, free: 34.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.3612, allocations: 0 / 0.5366 GB, free: 34.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002154/0.3633, allocations: 1.117 MB / 0.5377 GB, free: 34.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.3634, allocations: 63.09 kB / 0.5377 GB, free: 34.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.3645, allocations: 0.8743 MB / 0.5386 GB, free: 34.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.3645, allocations: 33.95 kB / 0.5386 GB, free: 34.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.3648, allocations: 0.5894 MB / 0.5392 GB, free: 33.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.323e-05/0.365, allocations: 139.2 kB / 0.5393 GB, free: 33.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.3652, allocations: 247.5 kB / 0.5396 GB, free: 33.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3654, allocations: 399.2 kB / 0.54 GB, free: 33.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.3658, allocations: 245.2 kB / 0.5402 GB, free: 33.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007762/0.3666, allocations: 0.9615 MB / 0.5411 GB, free: 32.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.3678, allocations: 1.323 MB / 0.5424 GB, free: 31.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.3678, allocations: 7.531 kB / 0.5424 GB, free: 31.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001662/0.3694, allocations: 1.211 MB / 0.5436 GB, free: 31.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.3695, allocations: 19.14 kB / 0.5436 GB, free: 31.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.378e-05/0.3695, allocations: 29.28 kB / 0.5437 GB, free: 31.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.998e-05/0.3696, allocations: 34.53 kB / 0.5437 GB, free: 31.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007802/0.3704, allocations: 280.4 kB / 0.544 GB, free: 31.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.612e-05/0.3704, allocations: 47.42 kB / 0.544 GB, free: 31.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007115/0.3712, allocations: 54.47 kB / 0.544 GB, free: 31.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.3713, allocations: 76.02 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.0004089/0.3717, allocations: 333.9 kB / 0.5444 GB, free: 30.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.3718, allocations: 94.84 kB / 0.5445 GB, free: 30.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000863/0.3727, allocations: 471.9 kB / 0.545 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3727, allocations: 3.531 kB / 0.545 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3727, allocations: 0 / 0.545 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3727, allocations: 3.094 kB / 0.545 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.3744, allocations: 1.247 MB / 0.5462 GB, free: 29.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.3744, allocations: 2 kB / 0.5462 GB, free: 29.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.3747, allocations: 66.42 kB / 0.5463 GB, free: 29.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.3748, allocations: 8.438 kB / 0.5463 GB, free: 29.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.3748, allocations: 12.89 kB / 0.5463 GB, free: 29.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.3748, allocations: 4.219 kB / 0.5463 GB, free: 29.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3748, allocations: 1.094 kB / 0.5463 GB, free: 29.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008676/0.3757, allocations: 0.6567 MB / 0.5469 GB, free: 29.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.3759, allocations: 205.7 kB / 0.5471 GB, free: 29.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.376, allocations: 12.67 kB / 0.5471 GB, free: 29.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.3764, allocations: 15.73 kB / 0.5472 GB, free: 29.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.3765, allocations: 22.16 kB / 0.5472 GB, free: 29.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.3765, allocations: 30.22 kB / 0.5472 GB, free: 29.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006753/0.3772, allocations: 0.5964 MB / 0.5478 GB, free: 28.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3772, allocations: 3.938 kB / 0.5478 GB, free: 28.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001108/0.3783, allocations: 299.8 kB / 0.5481 GB, free: 28.85 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.001837/0.3802, allocations: 1.432 MB / 0.5495 GB, free: 27.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000971/0.3812, allocations: 0.6418 MB / 0.5501 GB, free: 27.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.3812, allocations: 1.062 kB / 0.5501 GB, free: 27.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.3814, allocations: 144.8 kB / 0.5502 GB, free: 27.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.3833, allocations: 424.9 kB / 0.5506 GB, free: 27.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008716/0.392, allocations: 8.035 MB / 0.5585 GB, free: 22.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.3925, allocations: 0.9941 MB / 0.5595 GB, free: 21.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009579/0.3934, allocations: 314.7 kB / 0.5598 GB, free: 21.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.3937, allocations: 299.8 kB / 0.5601 GB, free: 21.07 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3938, allocations: 0 / 0.5601 GB, free: 21.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04238/0.4361, allocations: 24.68 MB / 0.5842 GB, free: 1.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.952/9.388, allocations: 19.83 kB / 0.5842 GB, free: 1.691 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