Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_0_0_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.001096/0.001096, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001329/0.001329, allocations: 180.2 kB / 18.71 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1978/0.1978, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001404, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3513, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03791/0.3893, allocations: 36.33 MB / 0.5539 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0205/0.4098, allocations: 16.76 MB / 0.5703 GB, free: 6.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.4109, allocations: 19.88 kB / 0.5703 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.4123, allocations: 425.4 kB / 0.5707 GB, free: 6.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01284/0.4251, allocations: 4.047 MB / 0.5746 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00895/0.4341, allocations: 3.138 MB / 0.5777 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002398/0.4365, allocations: 1.806 MB / 0.5795 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009456/0.4375, allocations: 0.543 MB / 0.58 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.4391, allocations: 0.7668 MB / 0.5807 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009861/0.4401, allocations: 0.5799 MB / 0.5813 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002094/0.4403, allocations: 72 kB / 0.5814 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01506/0.4554, allocations: 7.446 MB / 0.5887 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005055/0.4559, allocations: 247.4 kB / 0.5889 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000833/0.4568, allocations: 430.1 kB / 0.5893 GB, free: 3.348 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.4694, allocations: 5.054 MB / 0.5942 GB, free: 14.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.4694, allocations: 0 / 0.5942 GB, free: 14.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.4694, allocations: 0 / 0.5942 GB, free: 14.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.847e-05/0.4695, allocations: 4 kB / 0.5942 GB, free: 14.27 MB / 462.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.004887/0.4744, allocations: 1.648 MB / 0.5958 GB, free: 12.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4744, allocations: 15.97 kB / 0.5959 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.4746, allocations: 102.7 kB / 0.596 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/0.4776, allocations: 376.1 kB / 0.5963 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.4786, allocations: 0.5526 MB / 0.5969 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.4788, allocations: 113.3 kB / 0.597 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.4789, allocations: 63.92 kB / 0.597 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/0.4816, allocations: 1.13 MB / 0.5981 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.4817, allocations: 3.938 kB / 0.5981 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.4818, allocations: 28 kB / 0.5982 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/0.4818, allocations: 29.3 kB / 0.5982 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/0.4846, allocations: 1.055 MB / 0.5992 GB, free: 8.992 MB / 462.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.007035/0.4916, allocations: 5.013 MB / 0.6041 GB, free: 3.605 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/0.4944, allocations: 0.9184 MB / 0.605 GB, free: 2.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007478/0.4952, allocations: 381.9 kB / 0.6054 GB, free: 2.305 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0492/0.5444, allocations: 24.32 MB / 0.6291 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.5445, allocations: 39 kB / 0.6292 GB, free: 7.047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/0.5445, allocations: 0 / 0.6292 GB, free: 7.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=47): time 0.007194/0.5517, allocations: 1.974 MB / 0.6311 GB, free: 5.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.5518, allocations: 115.2 kB / 0.6312 GB, free: 4.887 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/0.5526, allocations: 0.5927 MB / 0.6318 GB, free: 4.289 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.777e-05/0.5526, allocations: 33.7 kB / 0.6318 GB, free: 4.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.5529, allocations: 328.3 kB / 0.6321 GB, free: 3.922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.553, allocations: 170.5 kB / 0.6323 GB, free: 3.754 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.5533, allocations: 134.2 kB / 0.6324 GB, free: 3.617 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5534, allocations: 374.8 kB / 0.6328 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.5541, allocations: 325.1 kB / 0.6331 GB, free: 2.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.5549, allocations: 485.6 kB / 0.6335 GB, free: 2.379 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.5564, allocations: 0.7318 MB / 0.6343 GB, free: 1.586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.5564, allocations: 0 / 0.6343 GB, free: 1.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002325/0.5587, allocations: 1.051 MB / 0.6353 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.5588, allocations: 11.94 kB / 0.6353 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.5588, allocations: 4 kB / 0.6353 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.56, allocations: 433.8 kB / 0.6357 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.5605, allocations: 119.8 kB / 0.6358 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.5623, allocations: 1.627 MB / 0.6374 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.5631, allocations: 95.53 kB / 0.6375 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.872e-05/0.5632, allocations: 24 kB / 0.6375 GB, free: 14.17 MB / 0.4981 GB 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.0004314/0.5636, allocations: 239.8 kB / 0.6378 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.5638, allocations: 67.58 kB / 0.6378 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/0.5683, allocations: 3.257 MB / 0.641 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.323e-05/0.5683, allocations: 39.94 kB / 0.641 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5683, allocations: 4 kB / 0.641 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.5684, allocations: 3.984 kB / 0.6411 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.5702, allocations: 1.577 MB / 0.6426 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.5702, allocations: 0 / 0.6426 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.5706, allocations: 87.88 kB / 0.6427 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.572, allocations: 0.8661 MB / 0.6435 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/0.5721, allocations: 15.98 kB / 0.6435 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002515/0.5747, allocations: 2.295 MB / 0.6458 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5747, allocations: 0 / 0.6458 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/0.5781, allocations: 2.281 MB / 0.648 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005732/0.5787, allocations: 299.7 kB / 0.6483 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.5789, allocations: 31.78 kB / 0.6483 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006152/0.5795, allocations: 39.95 kB / 0.6484 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.5797, allocations: 64.47 kB / 0.6484 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/0.5798, allocations: 27.98 kB / 0.6484 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006912/0.5805, allocations: 0.5107 MB / 0.6489 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5805, allocations: 0 / 0.6489 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003878/0.5844, allocations: 1.17 MB / 0.6501 GB, free: 1.121 MB / 0.4981 GB 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.009265/0.5937, allocations: 3.811 MB / 0.6538 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002538/0.5963, allocations: 1.138 MB / 0.6549 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5963, allocations: 0 / 0.6549 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.5978, allocations: 0.877 MB / 0.6558 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.5997, allocations: 380.9 kB / 0.6561 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.6134, allocations: 8.454 MB / 0.6644 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/0.6142, allocations: 1.154 MB / 0.6655 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006967/0.6149, allocations: 352.5 kB / 0.6659 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004509/0.6153, allocations: 415.3 kB / 0.6663 GB, free: 308 kB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.6153, allocations: 0 / 0.6663 GB, free: 308 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3388/0.9542, allocations: 61.29 MB / 0.7261 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.64, allocations: 2.125 kB / 0.7261 GB, free: 178.5 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestVolume/TestVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches