Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",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.001213/0.001212, allocations: 101.1 kB / 16.4 MB, free: 6.441 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.0011/0.0011, allocations: 192.2 kB / 17.34 MB, free: 5.703 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.398/1.398, 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.1998/0.1998, allocations: 43.52 MB / 314.1 MB, free: 452 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.001572/0.001572, allocations: 67.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1186, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03087/0.1495, allocations: 30.05 MB / 0.5167 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2568/0.4064, allocations: 15.5 MB / 0.5319 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/0.4068, allocations: 8.875 kB / 0.5319 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006384/0.4074, allocations: 217.2 kB / 0.5321 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.408, allocations: 275.4 kB / 0.5324 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01628/0.4243, allocations: 5.619 MB / 0.5378 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.4258, allocations: 0.8118 MB / 0.5386 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003958/0.4262, allocations: 228.9 kB / 0.5389 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01202/0.4382, allocations: 5.468 MB / 0.5442 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.4387, allocations: 233.8 kB / 0.5444 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.442e-05/0.4388, allocations: 29.22 kB / 0.5444 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01173/0.4505, allocations: 6.089 MB / 0.5504 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.4507, allocations: 88.12 kB / 0.5505 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003478/0.4511, allocations: 184.2 kB / 0.5506 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007305/0.4584, allocations: 3.661 MB / 0.5542 GB, free: 496 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4584, allocations: 0 / 0.5542 GB, free: 496 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4585, allocations: 0 / 0.5542 GB, free: 496 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4585, allocations: 1.062 kB / 0.5542 GB, free: 496 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002827/0.4613, allocations: 1.018 MB / 0.5552 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4614, allocations: 13.55 kB / 0.5552 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.42e-05/0.4614, allocations: 64.25 kB / 0.5553 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008872/0.4623, allocations: 112.3 kB / 0.5554 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.4628, allocations: 347.9 kB / 0.5557 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.4629, allocations: 21.72 kB / 0.5558 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.4629, allocations: 25.28 kB / 0.5558 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.464, allocations: 459.5 kB / 0.5562 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.464, allocations: 0 / 0.5562 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.4641, allocations: 15.02 kB / 0.5562 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4641, allocations: 6.688 kB / 0.5562 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.4651, allocations: 374.3 kB / 0.5566 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.468, allocations: 2.368 MB / 0.5589 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.469, allocations: 275.1 kB / 0.5592 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.4693, allocations: 96.36 kB / 0.5593 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/0.4697, allocations: 483.6 kB / 0.5597 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.4698, allocations: 36 kB / 0.5598 GB, free: 12.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 4.789e-06/0.4698, allocations: 0 / 0.5598 GB, free: 12.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001747/0.4715, allocations: 455.4 kB / 0.5602 GB, free: 12.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.4716, allocations: 112.3 kB / 0.5603 GB, free: 12.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.472, allocations: 321.7 kB / 0.5606 GB, free: 11.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.472, allocations: 29.08 kB / 0.5606 GB, free: 11.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.4721, allocations: 206.7 kB / 0.5608 GB, free: 11.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.4722, allocations: 51.66 kB / 0.5609 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/0.4723, allocations: 61.23 kB / 0.5609 GB, free: 11.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4724, allocations: 338 kB / 0.5613 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.4726, allocations: 99.77 kB / 0.5614 GB, free: 11.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.473, allocations: 200 kB / 0.5615 GB, free: 11.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005613/0.4736, allocations: 281.6 kB / 0.5618 GB, free: 11.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4736, allocations: 1.469 kB / 0.5618 GB, free: 11.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006981/0.4743, allocations: 324 kB / 0.5621 GB, free: 10.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4743, allocations: 11.78 kB / 0.5621 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4743, allocations: 6.891 kB / 0.5621 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4744, allocations: 3.656 kB / 0.5621 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.4746, allocations: 65.64 kB / 0.5622 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.4746, allocations: 10.19 kB / 0.5622 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.4749, allocations: 40.17 kB / 0.5623 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.4749, allocations: 13.16 kB / 0.5623 GB, free: 10.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.4751, allocations: 160 kB / 0.5624 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.4752, allocations: 29.66 kB / 0.5624 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.4762, allocations: 0.7546 MB / 0.5632 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.4762, allocations: 2 kB / 0.5632 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4762, allocations: 7.922 kB / 0.5632 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4762, allocations: 0 / 0.5632 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.4767, allocations: 0.5259 MB / 0.5637 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.4767, allocations: 0 / 0.5637 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.4769, allocations: 41.33 kB / 0.5637 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.4769, allocations: 14.89 kB / 0.5638 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.477, allocations: 3.625 kB / 0.5638 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.477, allocations: 0 / 0.5638 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.477, allocations: 7.031 kB / 0.5638 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.4776, allocations: 463.2 kB / 0.5642 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.4777, allocations: 112.1 kB / 0.5643 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.017e-05/0.4778, allocations: 26.03 kB / 0.5643 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.478, allocations: 17.38 kB / 0.5644 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.478, allocations: 18.14 kB / 0.5644 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.4781, allocations: 14.02 kB / 0.5644 GB, free: 9.824 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003124/0.4784, allocations: 342.6 kB / 0.5647 GB, free: 9.641 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4784, allocations: 0 / 0.5647 GB, free: 9.641 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00323/0.4816, allocations: 0.8472 MB / 0.5655 GB, free: 9.488 MB / 430.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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005189/0.4868, allocations: 1.902 MB / 0.5674 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007002/0.4875, allocations: 259.4 kB / 0.5677 GB, free: 8.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4876, allocations: 4 kB / 0.5677 GB, free: 8.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.4878, allocations: 168.2 kB / 0.5678 GB, free: 8.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009155/0.4888, allocations: 187.5 kB / 0.568 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00583/0.4946, allocations: 4.028 MB / 0.5719 GB, free: 5.387 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.495, allocations: 0.8348 MB / 0.5727 GB, free: 4.629 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003058/0.4953, allocations: 157.4 kB / 0.5729 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.4955, allocations: 161.4 kB / 0.573 GB, free: 4.422 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4955, allocations: 0 / 0.573 GB, free: 4.422 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06524/0.5607, allocations: 38.92 MB / 0.6111 GB, free: 14.78 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.629/10.19, allocations: 7.797 kB / 0.6111 GB, free: 14.77 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches