Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",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.001463/0.001463, allocations: 103.9 kB / 16.41 MB, free: 6.449 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.001673/0.001673, allocations: 188.1 kB / 17.34 MB, free: 5.742 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.514/1.514, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2047/0.2047, allocations: 43.53 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.001786/0.001786, allocations: 69.45 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1153, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.0374/0.1527, allocations: 36.34 MB / 0.5229 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2523/0.4051, allocations: 16.75 MB / 0.5392 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006776/0.4058, allocations: 16.81 kB / 0.5392 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.4069, allocations: 424.3 kB / 0.5396 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.4177, allocations: 4.037 MB / 0.5436 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008577/0.4263, allocations: 3.137 MB / 0.5467 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002637/0.4289, allocations: 1.8 MB / 0.5484 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008353/0.4298, allocations: 0.5363 MB / 0.5489 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.4313, allocations: 0.7625 MB / 0.5497 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.4321, allocations: 0.5761 MB / 0.5502 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.4323, allocations: 72.03 kB / 0.5503 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01598/0.4483, allocations: 7.449 MB / 0.5576 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004907/0.4488, allocations: 252.6 kB / 0.5578 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006611/0.4494, allocations: 419.9 kB / 0.5582 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.4611, allocations: 5.066 MB / 0.5632 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4611, allocations: 0 / 0.5632 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4611, allocations: 0 / 0.5632 GB, free: 15.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.4612, allocations: 0 / 0.5632 GB, free: 15.32 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.004678/0.4658, allocations: 1.647 MB / 0.5648 GB, free: 14.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4659, allocations: 19.33 kB / 0.5648 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.466, allocations: 108.7 kB / 0.5649 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/0.4688, allocations: 370.1 kB / 0.5653 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/0.4697, allocations: 0.5491 MB / 0.5658 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.4698, allocations: 107.8 kB / 0.5659 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.04e-05/0.4699, allocations: 70.91 kB / 0.566 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.4724, allocations: 1.13 MB / 0.5671 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.4724, allocations: 1.281 kB / 0.5671 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/0.4725, allocations: 25.77 kB / 0.5671 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.329e-05/0.4726, allocations: 36.11 kB / 0.5671 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.4752, allocations: 1.052 MB / 0.5682 GB, free: 12.11 MB / 430.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.006601/0.4818, allocations: 4.998 MB / 0.573 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.4844, allocations: 0.9294 MB / 0.5739 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007169/0.4851, allocations: 380.1 kB / 0.5743 GB, free: 7.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04872/0.5339, allocations: 24.32 MB / 0.5981 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.74e-05/0.534, allocations: 43 kB / 0.5981 GB, free: 13.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=47): time 3.116e-06/0.534, allocations: 0 / 0.5981 GB, free: 13.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=47): time 0.007002/0.541, allocations: 1.983 MB / 0.6 GB, free: 11.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.5411, allocations: 107.2 kB / 0.6001 GB, free: 11.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008926/0.542, allocations: 0.5887 MB / 0.6007 GB, free: 11.01 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.88e-05/0.5421, allocations: 37.7 kB / 0.6007 GB, free: 10.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.5424, allocations: 331 kB / 0.6011 GB, free: 10.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.5426, allocations: 166.4 kB / 0.6012 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.5428, allocations: 130.3 kB / 0.6013 GB, free: 10.35 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.543, allocations: 374.8 kB / 0.6017 GB, free: 9.973 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/0.5437, allocations: 321.1 kB / 0.602 GB, free: 9.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/0.5446, allocations: 493.6 kB / 0.6025 GB, free: 9.113 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.546, allocations: 0.7371 MB / 0.6032 GB, free: 8.316 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.546, allocations: 0 / 0.6032 GB, free: 8.316 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002275/0.5483, allocations: 1.052 MB / 0.6042 GB, free: 7.254 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.5483, allocations: 15.94 kB / 0.6042 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.5483, allocations: 7.984 kB / 0.6043 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.5496, allocations: 413.3 kB / 0.6046 GB, free: 6.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.55, allocations: 127.7 kB / 0.6048 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.5518, allocations: 1.631 MB / 0.6064 GB, free: 5.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000693/0.5525, allocations: 91.42 kB / 0.6064 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.883e-05/0.5526, allocations: 32.12 kB / 0.6065 GB, free: 4.891 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.regularFlow[1],Volume.regularFlow[2],Sink.medium.phase,FlowSource.medium.phase,Volume.inFlow[2],Volume.inFlow[1],Volume.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003949/0.553, allocations: 233.6 kB / 0.6067 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.5532, allocations: 71.64 kB / 0.6068 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/0.5577, allocations: 3.258 MB / 0.61 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/0.5577, allocations: 39.94 kB / 0.61 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.5577, allocations: 3.984 kB / 0.61 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.5578, allocations: 0 / 0.61 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.5595, allocations: 1.569 MB / 0.6115 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.5596, allocations: 0 / 0.6115 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.5599, allocations: 80.69 kB / 0.6116 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.5614, allocations: 0.8698 MB / 0.6125 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/0.5615, allocations: 16 kB / 0.6125 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002397/0.5639, allocations: 2.295 MB / 0.6147 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5639, allocations: 5.5 kB / 0.6147 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/0.5671, allocations: 2.275 MB / 0.6169 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/0.5676, allocations: 295.7 kB / 0.6172 GB, free: 9.746 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.5678, allocations: 31.77 kB / 0.6172 GB, free: 9.715 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005622/0.5684, allocations: 43.95 kB / 0.6173 GB, free: 9.672 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.5686, allocations: 68.47 kB / 0.6174 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.819e-05/0.5687, allocations: 19.98 kB / 0.6174 GB, free: 9.586 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006793/0.5694, allocations: 0.5223 MB / 0.6179 GB, free: 9.062 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5694, allocations: 0 / 0.6179 GB, free: 9.062 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004229/0.5736, allocations: 1.173 MB / 0.619 GB, free: 7.887 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009478/0.5831, allocations: 3.816 MB / 0.6228 GB, free: 4.156 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.5856, allocations: 1.132 MB / 0.6239 GB, free: 3.023 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5857, allocations: 1.188 kB / 0.6239 GB, free: 3.023 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.5872, allocations: 0.8809 MB / 0.6247 GB, free: 2.145 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.5893, allocations: 381.8 kB / 0.6251 GB, free: 1.777 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/0.605, allocations: 8.449 MB / 0.6333 GB, free: 9.102 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008609/0.6059, allocations: 1.154 MB / 0.6345 GB, free: 7.918 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008751/0.6068, allocations: 353.1 kB / 0.6348 GB, free: 7.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005385/0.6074, allocations: 411.3 kB / 0.6352 GB, free: 7.168 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6074, allocations: 0 / 0.6352 GB, free: 7.168 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09848/0.7059, allocations: 61.28 MB / 0.695 GB, free: 9.805 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/17.27, allocations: 13.02 kB / 0.695 GB, free: 9.793 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestVolume/TestVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches