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.001321/0.001321, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001318/0.001318, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.453/1.453, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2206/0.2206, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3327, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03564/0.3684, allocations: 30.04 MB / 0.5478 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02118/0.3896, allocations: 15.51 MB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00061/0.3902, allocations: 11.94 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008584/0.3912, allocations: 206.6 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008107/0.392, allocations: 282.4 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01769/0.4097, allocations: 5.623 MB / 0.5689 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.4109, allocations: 0.8109 MB / 0.5697 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.4113, allocations: 232.7 kB / 0.5699 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01317/0.4245, allocations: 5.466 MB / 0.5752 GB, free: 1.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.425, allocations: 235 kB / 0.5755 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.369e-05/0.4251, allocations: 32 kB / 0.5755 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01188/0.4369, allocations: 6.08 MB / 0.5814 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.4371, allocations: 83.73 kB / 0.5815 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.4374, allocations: 195.1 kB / 0.5817 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007489/0.4449, allocations: 3.66 MB / 0.5853 GB, free: 7.461 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.445, allocations: 0 / 0.5853 GB, free: 7.461 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.445, allocations: 0 / 0.5853 GB, free: 7.461 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.445, allocations: 0 / 0.5853 GB, free: 7.461 MB / 446.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.00222/0.4472, allocations: 1.017 MB / 0.5863 GB, free: 6.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4473, allocations: 8.031 kB / 0.5863 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.774e-05/0.4474, allocations: 70.67 kB / 0.5863 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008879/0.4483, allocations: 112.6 kB / 0.5864 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.4489, allocations: 338.8 kB / 0.5868 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.4489, allocations: 28.92 kB / 0.5868 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.449, allocations: 28.12 kB / 0.5868 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.4501, allocations: 450.9 kB / 0.5872 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4501, allocations: 4 kB / 0.5872 GB, free: 5.289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.4502, allocations: 12 kB / 0.5873 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4502, allocations: 4 kB / 0.5873 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.4513, allocations: 369.3 kB / 0.5876 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.4545, allocations: 2.391 MB / 0.5899 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.4556, allocations: 274.3 kB / 0.5902 GB, free: 2.031 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.4559, allocations: 92.8 kB / 0.5903 GB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/0.4564, allocations: 493.4 kB / 0.5908 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4564, allocations: 34.5 kB / 0.5908 GB, free: 1.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.854e-06/0.4564, allocations: 0 / 0.5908 GB, free: 1.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001748/0.4582, allocations: 453.2 kB / 0.5912 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.4583, allocations: 110.8 kB / 0.5913 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.4586, allocations: 316.5 kB / 0.5916 GB, free: 424 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.4587, allocations: 29.7 kB / 0.5917 GB, free: 388 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.4588, allocations: 216 kB / 0.5919 GB, free: 164 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.4589, allocations: 47.64 kB / 0.5919 GB, free: 116 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.342e-05/0.459, allocations: 49.7 kB / 0.592 GB, free: 60 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.4592, allocations: 346.8 kB / 0.5923 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.4595, allocations: 79.94 kB / 0.5924 GB, free: 15.63 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.4599, allocations: 211.3 kB / 0.5926 GB, free: 15.37 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006132/0.4605, allocations: 285.4 kB / 0.5928 GB, free: 15.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4605, allocations: 0 / 0.5928 GB, free: 15.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007627/0.4613, allocations: 320.9 kB / 0.5932 GB, free: 14.72 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4613, allocations: 8 kB / 0.5932 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4613, allocations: 0 / 0.5932 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.4613, allocations: 8 kB / 0.5932 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.4616, allocations: 72.3 kB / 0.5932 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.4616, allocations: 7.984 kB / 0.5932 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.4619, allocations: 47.72 kB / 0.5933 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.4619, allocations: 8 kB / 0.5933 GB, free: 14.57 MB / 462.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.0001738/0.4621, allocations: 153.8 kB / 0.5934 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.4622, allocations: 31.81 kB / 0.5935 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.4634, allocations: 0.741 MB / 0.5942 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.4634, allocations: 7.922 kB / 0.5942 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4634, allocations: 0 / 0.5942 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4634, allocations: 0 / 0.5942 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005885/0.464, allocations: 0.5377 MB / 0.5947 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.464, allocations: 4 kB / 0.5947 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.4642, allocations: 43.95 kB / 0.5948 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4642, allocations: 0 / 0.5948 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.4643, allocations: 7.984 kB / 0.5948 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4643, allocations: 7.875 kB / 0.5948 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4643, allocations: 0 / 0.5948 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007858/0.4651, allocations: 469.9 kB / 0.5952 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.4652, allocations: 116.8 kB / 0.5954 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.4653, allocations: 27.73 kB / 0.5954 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.4655, allocations: 19.92 kB / 0.5954 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.4655, allocations: 19.97 kB / 0.5954 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4656, allocations: 8 kB / 0.5954 GB, free: 12.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004138/0.466, allocations: 342.8 kB / 0.5958 GB, free: 11.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.466, allocations: 3.938 kB / 0.5958 GB, free: 11.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002766/0.4688, allocations: 0.8461 MB / 0.5966 GB, free: 11.11 MB / 462.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.006019/0.4748, allocations: 1.897 MB / 0.5984 GB, free: 9.191 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008594/0.4757, allocations: 275.6 kB / 0.5987 GB, free: 8.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4757, allocations: 0 / 0.5987 GB, free: 8.922 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.476, allocations: 160.9 kB / 0.5989 GB, free: 8.766 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.4771, allocations: 183.5 kB / 0.599 GB, free: 8.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/0.4845, allocations: 4.015 MB / 0.6029 GB, free: 4.395 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.4851, allocations: 0.8385 MB / 0.6038 GB, free: 3.531 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004208/0.4855, allocations: 142.8 kB / 0.6039 GB, free: 3.395 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.4858, allocations: 167.4 kB / 0.6041 GB, free: 3.23 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4858, allocations: 0 / 0.6041 GB, free: 3.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08076/0.5666, allocations: 38.96 MB / 0.6421 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.88, allocations: 11.89 kB / 0.6421 GB, free: 12.42 MB / 0.4981 GB (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