Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001606/0.001606, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001884/0.001884, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2719/0.2719, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 79.28 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1363, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0389/0.1752, allocations: 30.18 MB / 0.4983 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3428/0.5181, allocations: 15.53 MB / 0.5135 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004978/0.5187, allocations: 12.25 kB / 0.5135 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007857/0.5195, allocations: 221 kB / 0.5137 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007247/0.5202, allocations: 268.2 kB / 0.514 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02402/0.5443, allocations: 5.633 MB / 0.5195 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.546, allocations: 0.8184 MB / 0.5203 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005937/0.5466, allocations: 236.2 kB / 0.5205 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01491/0.5616, allocations: 5.47 MB / 0.5259 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006513/0.5622, allocations: 239.6 kB / 0.5261 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.313e-05/0.5623, allocations: 29.56 kB / 0.5261 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01545/0.5778, allocations: 5.953 MB / 0.5319 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.5781, allocations: 82.98 kB / 0.532 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.5785, allocations: 190.9 kB / 0.5322 GB, free: 7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01446/0.593, allocations: 3.671 MB / 0.5358 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.593, allocations: 7.938 kB / 0.5358 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.593, allocations: 2.469 kB / 0.5358 GB, free: 4.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.593, allocations: 0 / 0.5358 GB, free: 4.77 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.004053/0.5971, allocations: 0.9895 MB / 0.5368 GB, free: 4.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.5972, allocations: 7.656 kB / 0.5368 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.369e-05/0.5972, allocations: 69.31 kB / 0.5368 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.5983, allocations: 114.5 kB / 0.5369 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.5988, allocations: 334.3 kB / 0.5373 GB, free: 3.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.5988, allocations: 23.98 kB / 0.5373 GB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.5989, allocations: 25.59 kB / 0.5373 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.5999, allocations: 462.5 kB / 0.5377 GB, free: 3.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5999, allocations: 0 / 0.5377 GB, free: 3.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.6, allocations: 12.25 kB / 0.5378 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.6, allocations: 7.062 kB / 0.5378 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009854/0.601, allocations: 372 kB / 0.5381 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.6036, allocations: 2.38 MB / 0.5404 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009606/0.6046, allocations: 280.8 kB / 0.5407 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.6049, allocations: 91.17 kB / 0.5408 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/0.6053, allocations: 484.9 kB / 0.5413 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.6053, allocations: 38.77 kB / 0.5413 GB, free: 68 kB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.6054, allocations: 3.938 kB / 0.5413 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001743/0.6071, allocations: 447.1 kB / 0.5417 GB, free: 15.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.6072, allocations: 106.8 kB / 0.5418 GB, free: 15.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.6076, allocations: 329.3 kB / 0.5421 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.6077, allocations: 25.7 kB / 0.5422 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.6078, allocations: 210.1 kB / 0.5424 GB, free: 15.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.6079, allocations: 45.02 kB / 0.5424 GB, free: 15.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.608, allocations: 63.94 kB / 0.5425 GB, free: 15.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6081, allocations: 335 kB / 0.5428 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.6084, allocations: 86.33 kB / 0.5429 GB, free: 14.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.6087, allocations: 204.5 kB / 0.5431 GB, free: 14.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.6093, allocations: 287.6 kB / 0.5433 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6093, allocations: 3.062 kB / 0.5433 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007145/0.61, allocations: 318.7 kB / 0.5436 GB, free: 14.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.6101, allocations: 5.312 kB / 0.5437 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.6101, allocations: 5.375 kB / 0.5437 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.6101, allocations: 5.281 kB / 0.5437 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.6104, allocations: 69.36 kB / 0.5437 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.6104, allocations: 13.44 kB / 0.5437 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.6107, allocations: 40.39 kB / 0.5438 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.6107, allocations: 19.17 kB / 0.5438 GB, free: 14.16 MB / 398.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.0001668/0.6109, allocations: 153.9 kB / 0.5439 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.6109, allocations: 30.34 kB / 0.544 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.6121, allocations: 0.7504 MB / 0.5447 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.6121, allocations: 14.91 kB / 0.5447 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.6121, allocations: 3.938 kB / 0.5447 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6121, allocations: 0 / 0.5447 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.6127, allocations: 0.527 MB / 0.5452 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6127, allocations: 2.938 kB / 0.5452 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.6129, allocations: 42.27 kB / 0.5453 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.6129, allocations: 2.281 kB / 0.5453 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.6129, allocations: 4 kB / 0.5453 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6129, allocations: 4.781 kB / 0.5453 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6129, allocations: 6.875 kB / 0.5453 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/0.6136, allocations: 457.9 kB / 0.5457 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.6137, allocations: 119.7 kB / 0.5459 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.6138, allocations: 29.2 kB / 0.5459 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.6141, allocations: 13.92 kB / 0.5459 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.6141, allocations: 24.06 kB / 0.5459 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.6142, allocations: 2.375 kB / 0.5459 GB, free: 12.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000361/0.6145, allocations: 345.9 kB / 0.5462 GB, free: 12.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6145, allocations: 0 / 0.5462 GB, free: 12.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003229/0.6178, allocations: 0.8475 MB / 0.5471 GB, free: 11.89 MB / 398.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.00557/0.6233, allocations: 1.901 MB / 0.5489 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008548/0.6242, allocations: 272.5 kB / 0.5492 GB, free: 9.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6242, allocations: 8 kB / 0.5492 GB, free: 9.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.6246, allocations: 163.9 kB / 0.5494 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.6256, allocations: 177.2 kB / 0.5495 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007057/0.6327, allocations: 4.096 MB / 0.5535 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.6332, allocations: 0.8424 MB / 0.5543 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004026/0.6336, allocations: 141.8 kB / 0.5545 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.6338, allocations: 163.4 kB / 0.5546 GB, free: 4.043 MB / 398.1 MB Notification: Performance of SimCode: time 2.214e-06/0.6338, allocations: 0 / 0.5546 GB, free: 4.043 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0831/0.7169, allocations: 39.03 MB / 0.5928 GB, free: 13.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.657/10.37, allocations: 7.312 kB / 0.5928 GB, free: 13.14 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches