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.001409/0.001409, allocations: 112.7 kB / 17.78 MB, free: 5.281 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.001324/0.001324, allocations: 180.1 kB / 18.71 MB, free: 4.363 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.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2344/0.2344, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3182, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.04196/0.3602, allocations: 36.32 MB / 0.5539 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0239/0.3842, allocations: 16.77 MB / 0.5703 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008382/0.3851, allocations: 19.88 kB / 0.5703 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.3864, allocations: 421.4 kB / 0.5707 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.3981, allocations: 4.02 MB / 0.5746 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008598/0.4067, allocations: 3.142 MB / 0.5777 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.4094, allocations: 1.802 MB / 0.5794 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009045/0.4103, allocations: 0.5429 MB / 0.58 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.4118, allocations: 0.759 MB / 0.5807 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009166/0.4128, allocations: 0.5682 MB / 0.5813 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.413, allocations: 72 kB / 0.5813 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01556/0.4285, allocations: 7.446 MB / 0.5886 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005167/0.4291, allocations: 251.3 kB / 0.5889 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006919/0.4298, allocations: 430.1 kB / 0.5893 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.4422, allocations: 5.054 MB / 0.5942 GB, free: 14.37 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4423, allocations: 4 kB / 0.5942 GB, free: 14.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4423, allocations: 0 / 0.5942 GB, free: 14.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.4423, allocations: 0 / 0.5942 GB, free: 14.36 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.00447/0.4468, allocations: 1.652 MB / 0.5958 GB, free: 12.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4468, allocations: 8.031 kB / 0.5958 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.447, allocations: 110.7 kB / 0.5959 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002869/0.4499, allocations: 368 kB / 0.5963 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009903/0.4509, allocations: 0.5487 MB / 0.5968 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.451, allocations: 121.2 kB / 0.5969 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.4511, allocations: 59.94 kB / 0.597 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.454, allocations: 1.126 MB / 0.5981 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.454, allocations: 3.938 kB / 0.5981 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.139e-05/0.4541, allocations: 28 kB / 0.5981 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-05/0.4542, allocations: 41.23 kB / 0.5982 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002879/0.4571, allocations: 1.047 MB / 0.5992 GB, free: 9.09 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.007492/0.4646, allocations: 5.021 MB / 0.6041 GB, free: 3.691 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/0.4675, allocations: 0.9146 MB / 0.605 GB, free: 2.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000785/0.4683, allocations: 381.9 kB / 0.6053 GB, free: 2.395 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05215/0.5204, allocations: 24.32 MB / 0.6291 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.5205, allocations: 39 kB / 0.6291 GB, free: 7.133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=47): time 2.965e-06/0.5206, allocations: 0 / 0.6291 GB, free: 7.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=47): time 0.007268/0.5278, allocations: 1.97 MB / 0.6311 GB, free: 5.113 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.67e-05/0.528, allocations: 115.2 kB / 0.6312 GB, free: 4.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008546/0.5288, allocations: 0.5927 MB / 0.6317 GB, free: 4.379 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.595e-05/0.5289, allocations: 37.7 kB / 0.6318 GB, free: 4.336 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.5292, allocations: 328.3 kB / 0.6321 GB, free: 4.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.5294, allocations: 166.5 kB / 0.6323 GB, free: 3.844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.5296, allocations: 138.2 kB / 0.6324 GB, free: 3.703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5298, allocations: 374.8 kB / 0.6327 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007306/0.5306, allocations: 317.1 kB / 0.633 GB, free: 3.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008787/0.5315, allocations: 485.6 kB / 0.6335 GB, free: 2.473 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.533, allocations: 0.7357 MB / 0.6342 GB, free: 1.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.533, allocations: 4 kB / 0.6342 GB, free: 1.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002449/0.5355, allocations: 1.056 MB / 0.6353 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.5355, allocations: 7.938 kB / 0.6353 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.5355, allocations: 8 kB / 0.6353 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.5367, allocations: 425.5 kB / 0.6357 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.5372, allocations: 115.8 kB / 0.6358 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.5394, allocations: 1.631 MB / 0.6374 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/0.5401, allocations: 87.47 kB / 0.6375 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.5402, allocations: 32 kB / 0.6375 GB, free: 14.26 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.0004141/0.5406, allocations: 237.6 kB / 0.6377 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.5408, allocations: 67.58 kB / 0.6378 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004891/0.5457, allocations: 3.255 MB / 0.641 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.815e-05/0.5457, allocations: 39.94 kB / 0.641 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.5458, allocations: 4 kB / 0.641 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.5458, allocations: 3.984 kB / 0.641 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.5477, allocations: 1.581 MB / 0.6426 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5477, allocations: 0 / 0.6426 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.5481, allocations: 79.88 kB / 0.6426 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/0.5496, allocations: 0.8737 MB / 0.6435 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.472e-05/0.5497, allocations: 15.98 kB / 0.6435 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003294/0.553, allocations: 2.295 MB / 0.6457 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5531, allocations: 0 / 0.6457 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005441/0.5585, allocations: 2.274 MB / 0.648 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006582/0.5592, allocations: 307.7 kB / 0.6483 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.5594, allocations: 31.78 kB / 0.6483 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007713/0.5602, allocations: 39.95 kB / 0.6483 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/0.5605, allocations: 60.47 kB / 0.6484 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.853e-05/0.5605, allocations: 23.98 kB / 0.6484 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001018/0.5616, allocations: 0.5146 MB / 0.6489 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5616, allocations: 0 / 0.6489 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003894/0.5655, allocations: 1.17 MB / 0.65 GB, free: 1.215 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.01348/0.579, allocations: 3.812 MB / 0.6538 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003913/0.583, allocations: 1.142 MB / 0.6549 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/0.583, allocations: 4.234 kB / 0.6549 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002217/0.5852, allocations: 0.877 MB / 0.6557 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.5872, allocations: 383 kB / 0.6561 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/0.6032, allocations: 8.454 MB / 0.6644 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007964/0.604, allocations: 1.146 MB / 0.6655 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007292/0.6048, allocations: 352.7 kB / 0.6658 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005122/0.6053, allocations: 411.3 kB / 0.6662 GB, free: 404 kB / 0.5137 GB Notification: Performance of SimCode: time 2.434e-06/0.6053, allocations: 0 / 0.6662 GB, free: 404 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3267/0.932, allocations: 61.29 MB / 0.7261 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/17.18, allocations: 12.92 kB / 0.7261 GB, free: 178.8 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