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.001306/0.001305, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001372/0.001372, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.287/1.287, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1923/0.1923, allocations: 43.52 MB / 314.1 MB, free: 448 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.001361/0.001361, allocations: 73.47 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09222/0.09359, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.04045/0.1341, allocations: 36.33 MB / 0.5229 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2292/0.3633, allocations: 16.75 MB / 0.5392 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008013/0.3641, allocations: 18.25 kB / 0.5392 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.3654, allocations: 425.2 kB / 0.5397 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009517/0.3749, allocations: 4.033 MB / 0.5436 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007551/0.3825, allocations: 3.136 MB / 0.5467 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002173/0.3847, allocations: 1.799 MB / 0.5484 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007008/0.3854, allocations: 0.5404 MB / 0.5489 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.3867, allocations: 0.765 MB / 0.5497 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007098/0.3875, allocations: 0.5707 MB / 0.5502 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.3876, allocations: 71.25 kB / 0.5503 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01385/0.4014, allocations: 7.452 MB / 0.5576 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.4019, allocations: 254.7 kB / 0.5578 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00069/0.4026, allocations: 413.7 kB / 0.5582 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.4158, allocations: 5.067 MB / 0.5632 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4158, allocations: 0 / 0.5632 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4158, allocations: 1.906 kB / 0.5632 GB, free: 15.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.4159, 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.004985/0.4209, allocations: 1.648 MB / 0.5648 GB, free: 14.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4209, allocations: 18.45 kB / 0.5648 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.421, allocations: 106.7 kB / 0.5649 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002843/0.4239, allocations: 365.9 kB / 0.5653 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009075/0.4248, allocations: 0.55 MB / 0.5658 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.425, allocations: 114.9 kB / 0.5659 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.454e-05/0.4251, allocations: 56.84 kB / 0.566 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.4276, allocations: 1.14 MB / 0.5671 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.4276, allocations: 1.219 kB / 0.5671 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/0.4277, allocations: 22.81 kB / 0.5671 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/0.4277, allocations: 36.8 kB / 0.5671 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.4303, allocations: 1.056 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.006234/0.4365, allocations: 5.003 MB / 0.573 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.4391, allocations: 0.9185 MB / 0.5739 GB, free: 7.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006924/0.4398, allocations: 383.9 kB / 0.5743 GB, free: 7.102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04907/0.4889, allocations: 24.32 MB / 0.5981 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.489, allocations: 39.69 kB / 0.5981 GB, free: 13.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.489, allocations: 4 kB / 0.5981 GB, free: 13.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=47): time 0.006706/0.4957, allocations: 1.975 MB / 0.6 GB, free: 11.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.4958, allocations: 111.2 kB / 0.6001 GB, free: 11.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007185/0.4965, allocations: 0.5959 MB / 0.6007 GB, free: 10.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.4966, allocations: 37.7 kB / 0.6008 GB, free: 10.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.4968, allocations: 324.2 kB / 0.6011 GB, free: 10.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.4969, allocations: 172.6 kB / 0.6012 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.4972, allocations: 126.3 kB / 0.6013 GB, free: 10.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.4974, allocations: 374.8 kB / 0.6017 GB, free: 9.961 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/0.498, allocations: 329 kB / 0.602 GB, free: 9.641 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/0.4988, allocations: 481.6 kB / 0.6025 GB, free: 9.105 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.5002, allocations: 0.7368 MB / 0.6032 GB, free: 8.309 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.5002, allocations: 4 kB / 0.6032 GB, free: 8.305 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002235/0.5025, allocations: 1.053 MB / 0.6042 GB, free: 7.242 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.5025, allocations: 12 kB / 0.6042 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5025, allocations: 4 kB / 0.6042 GB, free: 7.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.5037, allocations: 425.3 kB / 0.6046 GB, free: 6.805 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.5041, allocations: 123.8 kB / 0.6048 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.506, allocations: 1.637 MB / 0.6064 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007601/0.5068, allocations: 91.41 kB / 0.6065 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.5069, allocations: 32.88 kB / 0.6065 GB, free: 4.875 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.0004103/0.5073, allocations: 233.5 kB / 0.6067 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.5075, allocations: 71.64 kB / 0.6068 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/0.5117, allocations: 3.247 MB / 0.6099 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.683e-05/0.5118, allocations: 43.92 kB / 0.61 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5118, allocations: 0 / 0.61 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.5119, allocations: 3.984 kB / 0.61 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.5137, allocations: 1.564 MB / 0.6115 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.5137, allocations: 0 / 0.6115 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.514, allocations: 83.86 kB / 0.6116 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.5154, allocations: 0.87 MB / 0.6124 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.5154, allocations: 19.98 kB / 0.6125 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/0.5178, allocations: 2.299 MB / 0.6147 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5178, allocations: 3.938 kB / 0.6147 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/0.5209, allocations: 2.278 MB / 0.6169 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.5213, allocations: 291.7 kB / 0.6172 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.5215, allocations: 35.75 kB / 0.6173 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/0.522, allocations: 43.95 kB / 0.6173 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.5222, allocations: 64.47 kB / 0.6174 GB, free: 9.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.5222, allocations: 20 kB / 0.6174 GB, free: 9.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005772/0.5228, allocations: 0.5185 MB / 0.6179 GB, free: 9.051 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5228, allocations: 3.938 kB / 0.6179 GB, free: 9.047 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003503/0.5263, allocations: 1.17 MB / 0.619 GB, free: 7.875 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.0085/0.5348, allocations: 3.818 MB / 0.6228 GB, free: 4.145 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002376/0.5372, allocations: 1.129 MB / 0.6239 GB, free: 3.012 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.5373, allocations: 1.062 kB / 0.6239 GB, free: 3.012 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.5387, allocations: 0.877 MB / 0.6247 GB, free: 2.137 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.5407, allocations: 385.8 kB / 0.6251 GB, free: 1.766 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.555, allocations: 8.453 MB / 0.6333 GB, free: 9.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.5557, allocations: 1.154 MB / 0.6345 GB, free: 7.906 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007821/0.5565, allocations: 349.2 kB / 0.6348 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.5569, allocations: 407.3 kB / 0.6352 GB, free: 7.164 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5569, allocations: 0 / 0.6352 GB, free: 7.164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/0.6605, allocations: 61.28 MB / 0.695 GB, free: 9.805 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/15.76, allocations: 16.95 kB / 0.695 GB, free: 9.789 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