Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_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.00116/0.001167, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00113/0.00113, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.425/1.425, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2422/0.2422, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.06 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1026, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03201/0.1347, allocations: 30.04 MB / 499.4 MB, free: 128 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.1537, allocations: 15.52 MB / 0.5028 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/0.1541, allocations: 11.94 kB / 0.5029 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000749/0.1549, allocations: 214.6 kB / 0.5031 GB, free: 332 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000694/0.1556, allocations: 270.4 kB / 0.5033 GB, free: 60 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2673/0.423, allocations: 5.618 MB / 0.5088 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.4241, allocations: 0.8136 MB / 0.5096 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004206/0.4246, allocations: 230.5 kB / 0.5098 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01293/0.4375, allocations: 5.47 MB / 0.5152 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005119/0.4381, allocations: 234.9 kB / 0.5154 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.956e-05/0.4381, allocations: 28.34 kB / 0.5154 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01254/0.4507, allocations: 5.94 MB / 0.5212 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.4509, allocations: 85.28 kB / 0.5213 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.4514, allocations: 188.5 kB / 0.5215 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009272/0.4607, allocations: 3.647 MB / 0.525 GB, free: 8.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4607, allocations: 3.562 kB / 0.525 GB, free: 8.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4607, allocations: 4 kB / 0.525 GB, free: 8.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.4607, allocations: 1.938 kB / 0.525 GB, free: 8.148 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002431/0.4632, allocations: 1.006 MB / 0.526 GB, free: 7.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4632, allocations: 7.125 kB / 0.526 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.215e-05/0.4633, allocations: 61.67 kB / 0.5261 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009059/0.4642, allocations: 113.8 kB / 0.5262 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.4646, allocations: 325.1 kB / 0.5265 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.4646, allocations: 24.78 kB / 0.5265 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.4646, allocations: 22.34 kB / 0.5266 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009553/0.4656, allocations: 452 kB / 0.527 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4656, allocations: 6.125 kB / 0.527 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.4657, allocations: 9.781 kB / 0.527 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.4657, allocations: 12.53 kB / 0.527 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009849/0.4667, allocations: 366.9 kB / 0.5274 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.4691, allocations: 2.39 MB / 0.5297 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009728/0.4701, allocations: 277.3 kB / 0.53 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.4704, allocations: 96.91 kB / 0.5301 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/0.4707, allocations: 487.9 kB / 0.5305 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.4707, allocations: 32.34 kB / 0.5305 GB, free: 4.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.044e-06/0.4707, allocations: 4 kB / 0.5306 GB, free: 4.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001646/0.4724, allocations: 452.7 kB / 0.531 GB, free: 3.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.4724, allocations: 106.8 kB / 0.5311 GB, free: 3.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.4727, allocations: 318.5 kB / 0.5314 GB, free: 3.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.4728, allocations: 30.89 kB / 0.5314 GB, free: 3.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.835e-05/0.4729, allocations: 209.8 kB / 0.5316 GB, free: 3.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.4729, allocations: 43.28 kB / 0.5317 GB, free: 3.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.673e-05/0.473, allocations: 52.73 kB / 0.5317 GB, free: 3.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.025e-05/0.4731, allocations: 339.5 kB / 0.532 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.4733, allocations: 90.36 kB / 0.5321 GB, free: 3.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.4736, allocations: 212.5 kB / 0.5323 GB, free: 2.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.4741, allocations: 283.2 kB / 0.5326 GB, free: 2.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4742, allocations: 0 / 0.5326 GB, free: 2.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006728/0.4748, allocations: 312 kB / 0.5329 GB, free: 2.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4749, allocations: 6.281 kB / 0.5329 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4749, allocations: 2.625 kB / 0.5329 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.4749, allocations: 4.938 kB / 0.5329 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.4752, allocations: 65.17 kB / 0.533 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4752, allocations: 17.38 kB / 0.533 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.4754, allocations: 56.44 kB / 0.533 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.4755, allocations: 8.438 kB / 0.533 GB, free: 2.617 MB / 382.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.0001216/0.4756, allocations: 148.3 kB / 0.5332 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.4757, allocations: 31.8 kB / 0.5332 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009751/0.4766, allocations: 0.7408 MB / 0.5339 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.4767, allocations: 9.203 kB / 0.5339 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4767, allocations: 3.938 kB / 0.534 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4767, allocations: 4 kB / 0.534 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.4771, allocations: 0.5323 MB / 0.5345 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4771, allocations: 0 / 0.5345 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.4773, allocations: 45.42 kB / 0.5345 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4773, allocations: 0 / 0.5345 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4774, allocations: 2.562 kB / 0.5345 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4774, allocations: 0 / 0.5345 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4774, allocations: 3.938 kB / 0.5345 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005938/0.478, allocations: 463.5 kB / 0.535 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.478, allocations: 119.2 kB / 0.5351 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.4781, allocations: 21.34 kB / 0.5351 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.4783, allocations: 20.05 kB / 0.5351 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.4784, allocations: 28.73 kB / 0.5351 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.4784, allocations: 6.969 kB / 0.5352 GB, free: 1.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000282/0.4787, allocations: 338.6 kB / 0.5355 GB, free: 1.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4787, allocations: 0 / 0.5355 GB, free: 1.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002424/0.4811, allocations: 0.8467 MB / 0.5363 GB, free: 1.023 MB / 382.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.004916/0.486, allocations: 1.887 MB / 0.5381 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008293/0.4869, allocations: 284 kB / 0.5384 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4869, allocations: 0 / 0.5384 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.4872, allocations: 168.4 kB / 0.5386 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.4883, allocations: 169.6 kB / 0.5387 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006568/0.4949, allocations: 4.062 MB / 0.5427 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.4953, allocations: 0.8424 MB / 0.5435 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003691/0.4957, allocations: 148.1 kB / 0.5437 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.4959, allocations: 163.4 kB / 0.5438 GB, free: 10.77 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4959, allocations: 0 / 0.5438 GB, free: 10.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07491/0.5708, allocations: 38.93 MB / 0.5818 GB, free: 4.059 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.575/10.15, allocations: 11.77 kB / 0.5819 GB, free: 4.047 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches