Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001497/0.001497, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 74.3 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1031, allocations: 62.45 MB / 480.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03971/0.1428, allocations: 36.49 MB / 0.5045 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2242/0.3671, allocations: 16.75 MB / 0.5209 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.3683, allocations: 17.12 kB / 0.5209 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.37, allocations: 426.3 kB / 0.5213 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0134/0.3834, allocations: 4.022 MB / 0.5252 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009798/0.3932, allocations: 3.152 MB / 0.5283 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002458/0.3957, allocations: 1.798 MB / 0.5301 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009148/0.3966, allocations: 0.5383 MB / 0.5306 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.3983, allocations: 0.7521 MB / 0.5313 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009462/0.3993, allocations: 0.5783 MB / 0.5319 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.3995, allocations: 72.25 kB / 0.532 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0155/0.415, allocations: 7.296 MB / 0.5391 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004887/0.4155, allocations: 250.6 kB / 0.5393 GB, free: 5.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006495/0.4162, allocations: 424.4 kB / 0.5397 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.4289, allocations: 5.064 MB / 0.5447 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4289, allocations: 0 / 0.5447 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4289, allocations: 0 / 0.5447 GB, free: 1.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.4289, allocations: 2.5 kB / 0.5447 GB, free: 1.93 MB / 382.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.004787/0.4337, allocations: 1.607 MB / 0.5462 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4338, allocations: 8 kB / 0.5462 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.4339, allocations: 106.8 kB / 0.5464 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.4368, allocations: 371.8 kB / 0.5467 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007703/0.4376, allocations: 0.5236 MB / 0.5472 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.4377, allocations: 114.3 kB / 0.5473 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.752e-05/0.4378, allocations: 62.72 kB / 0.5474 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.4407, allocations: 1.133 MB / 0.5485 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.4408, allocations: 0 / 0.5485 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.905e-05/0.4409, allocations: 31.84 kB / 0.5485 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.683e-05/0.4409, allocations: 37.3 kB / 0.5486 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.4438, allocations: 1.047 MB / 0.5496 GB, free: 14.04 MB / 398.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.00702/0.4508, allocations: 5.023 MB / 0.5545 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.4536, allocations: 0.921 MB / 0.5554 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007428/0.4544, allocations: 381.9 kB / 0.5557 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05369/0.5081, allocations: 26.78 MB / 0.5819 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/0.5082, allocations: 35 kB / 0.5819 GB, free: 9.156 MB / 430.1 MB Notification: Performance of pre-optimization done (n=47): time 2.955e-06/0.5082, allocations: 0 / 0.5819 GB, free: 9.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=47): time 0.007467/0.5157, allocations: 1.973 MB / 0.5839 GB, free: 7.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.5158, allocations: 119.1 kB / 0.584 GB, free: 6.992 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008345/0.5166, allocations: 0.5964 MB / 0.5846 GB, free: 6.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.486e-05/0.5167, allocations: 37.7 kB / 0.5846 GB, free: 6.344 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.517, allocations: 319.5 kB / 0.5849 GB, free: 6.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.5172, allocations: 154.9 kB / 0.585 GB, free: 5.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.5174, allocations: 134.2 kB / 0.5852 GB, free: 5.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.5176, allocations: 370.8 kB / 0.5855 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000726/0.5183, allocations: 321.1 kB / 0.5858 GB, free: 5.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008495/0.5192, allocations: 489.6 kB / 0.5863 GB, free: 4.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.5207, allocations: 0.7396 MB / 0.587 GB, free: 3.719 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.5207, allocations: 4 kB / 0.587 GB, free: 3.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002317/0.523, allocations: 1.051 MB / 0.5881 GB, free: 2.648 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.5231, allocations: 10.44 kB / 0.5881 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.5231, allocations: 4 kB / 0.5881 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.5243, allocations: 424.6 kB / 0.5885 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.5248, allocations: 124.5 kB / 0.5886 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.5266, allocations: 1.631 MB / 0.5902 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006745/0.5273, allocations: 91.19 kB / 0.5903 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.057e-05/0.5274, allocations: 31.98 kB / 0.5903 GB, free: 300 kB / 430.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.0003813/0.5278, allocations: 233.9 kB / 0.5905 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.528, allocations: 63.3 kB / 0.5906 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/0.5324, allocations: 3.267 MB / 0.5938 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-05/0.5325, allocations: 43.92 kB / 0.5938 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5325, allocations: 0 / 0.5938 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.5325, allocations: 0 / 0.5938 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.5342, allocations: 1.565 MB / 0.5953 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.5342, allocations: 4 kB / 0.5954 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.5346, allocations: 83.88 kB / 0.5954 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.536, allocations: 0.8662 MB / 0.5963 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.5361, allocations: 12 kB / 0.5963 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/0.5386, allocations: 2.295 MB / 0.5985 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5386, allocations: 8 kB / 0.5985 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/0.5419, allocations: 2.269 MB / 0.6008 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.5424, allocations: 298.9 kB / 0.601 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.5425, allocations: 27.78 kB / 0.6011 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005799/0.5431, allocations: 43.95 kB / 0.6011 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.5433, allocations: 64.47 kB / 0.6012 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.5434, allocations: 23.98 kB / 0.6012 GB, free: 4.992 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006511/0.544, allocations: 0.5146 MB / 0.6017 GB, free: 4.477 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.544, allocations: 0 / 0.6017 GB, free: 4.477 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003173/0.5472, allocations: 1.163 MB / 0.6028 GB, free: 3.312 MB / 446.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.008744/0.556, allocations: 3.816 MB / 0.6066 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003209/0.5592, allocations: 1.204 MB / 0.6077 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.5592, allocations: 0 / 0.6077 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.5608, allocations: 0.8923 MB / 0.6086 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.563, allocations: 371.5 kB / 0.609 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.5785, allocations: 8.679 MB / 0.6174 GB, free: 4.254 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009081/0.5795, allocations: 1.15 MB / 0.6186 GB, free: 3.074 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008547/0.5804, allocations: 349.3 kB / 0.6189 GB, free: 2.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/0.5809, allocations: 411.3 kB / 0.6193 GB, free: 2.328 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5809, allocations: 0 / 0.6193 GB, free: 2.328 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/0.6847, allocations: 61.17 MB / 0.679 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.74, allocations: 15.62 kB / 0.679 GB, free: 5.316 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches