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.001151/0.001151, allocations: 118.4 kB / 17.78 MB, free: 5.234 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.001149/0.001149, allocations: 183.8 kB / 18.72 MB, free: 4.312 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2079/0.2079, allocations: 44.19 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3236, allocations: 60.82 MB / 0.5184 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03071/0.3544, allocations: 30.03 MB / 0.5478 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01792/0.3724, allocations: 15.51 MB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004072/0.3728, allocations: 11.94 kB / 0.5629 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006717/0.3735, allocations: 218.6 kB / 0.5631 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006058/0.3741, allocations: 274.4 kB / 0.5634 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01583/0.39, allocations: 5.637 MB / 0.5689 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.3911, allocations: 0.8186 MB / 0.5697 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003832/0.3915, allocations: 232.7 kB / 0.5699 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01263/0.4042, allocations: 5.478 MB / 0.5753 GB, free: 1.676 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.4046, allocations: 235 kB / 0.5755 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/0.4047, allocations: 28 kB / 0.5755 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.4157, allocations: 6.076 MB / 0.5814 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.4159, allocations: 87.73 kB / 0.5815 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.4163, allocations: 191.1 kB / 0.5817 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008765/0.425, allocations: 3.648 MB / 0.5853 GB, free: 7.406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.4251, allocations: 4 kB / 0.5853 GB, free: 7.402 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4251, allocations: 0 / 0.5853 GB, free: 7.402 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.4251, allocations: 0 / 0.5853 GB, free: 7.402 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.002759/0.4279, allocations: 1.033 MB / 0.5863 GB, free: 6.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.4279, allocations: 8.031 kB / 0.5863 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.016e-05/0.428, allocations: 66.72 kB / 0.5864 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000934/0.429, allocations: 104.6 kB / 0.5865 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/0.4296, allocations: 342.7 kB / 0.5868 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.4296, allocations: 24.94 kB / 0.5868 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.4297, allocations: 28.12 kB / 0.5868 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.4308, allocations: 454.9 kB / 0.5873 GB, free: 5.227 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4308, allocations: 3.938 kB / 0.5873 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.4309, allocations: 12 kB / 0.5873 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.4309, allocations: 8 kB / 0.5873 GB, free: 5.203 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.432, allocations: 369.3 kB / 0.5876 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/0.4351, allocations: 2.387 MB / 0.59 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.4361, allocations: 270.3 kB / 0.5902 GB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.4364, allocations: 96.8 kB / 0.5903 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004283/0.4368, allocations: 489.4 kB / 0.5908 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.4369, allocations: 42.55 kB / 0.5908 GB, free: 1.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.4369, allocations: 0 / 0.5908 GB, free: 1.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001765/0.4387, allocations: 449.2 kB / 0.5913 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.4387, allocations: 114.8 kB / 0.5914 GB, free: 0.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.4391, allocations: 320.5 kB / 0.5917 GB, free: 348 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.4392, allocations: 29.7 kB / 0.5917 GB, free: 312 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.4393, allocations: 208 kB / 0.5919 GB, free: 96 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.4393, allocations: 43.64 kB / 0.5919 GB, free: 52 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.953e-05/0.4394, allocations: 57.69 kB / 0.592 GB, free: 15.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4396, allocations: 338.8 kB / 0.5923 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.4399, allocations: 87.92 kB / 0.5924 GB, free: 15.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.4402, allocations: 203.3 kB / 0.5926 GB, free: 15.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005935/0.4408, allocations: 281.5 kB / 0.5929 GB, free: 14.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4408, allocations: 0 / 0.5929 GB, free: 14.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007422/0.4416, allocations: 321.4 kB / 0.5932 GB, free: 14.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4416, allocations: 8.062 kB / 0.5932 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.4416, allocations: 4 kB / 0.5932 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.4417, allocations: 8 kB / 0.5932 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.442, allocations: 67.83 kB / 0.5933 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.442, allocations: 7.938 kB / 0.5933 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.4422, allocations: 47.72 kB / 0.5933 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.4423, allocations: 8 kB / 0.5933 GB, free: 14.52 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.0001585/0.4424, allocations: 161.7 kB / 0.5935 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.4425, allocations: 27.81 kB / 0.5935 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.4436, allocations: 0.7488 MB / 0.5942 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.4437, allocations: 15.86 kB / 0.5942 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4437, allocations: 0 / 0.5942 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.4437, allocations: 0 / 0.5942 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.4442, allocations: 0.5378 MB / 0.5948 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4442, allocations: 0 / 0.5948 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.4445, allocations: 43.94 kB / 0.5948 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4445, allocations: 0 / 0.5948 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.4445, allocations: 8 kB / 0.5948 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.4445, allocations: 7.875 kB / 0.5948 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4445, allocations: 0 / 0.5948 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/0.4453, allocations: 461.9 kB / 0.5953 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.4454, allocations: 120.8 kB / 0.5954 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.4454, allocations: 23.73 kB / 0.5954 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.4457, allocations: 27.91 kB / 0.5954 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.4458, allocations: 15.98 kB / 0.5954 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.4458, allocations: 7.984 kB / 0.5955 GB, free: 12.22 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003697/0.4462, allocations: 338.9 kB / 0.5958 GB, free: 11.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4462, allocations: 0 / 0.5958 GB, free: 11.89 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002635/0.4488, allocations: 0.8461 MB / 0.5966 GB, free: 11.04 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.004836/0.4536, allocations: 1.899 MB / 0.5985 GB, free: 9.121 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007319/0.4544, allocations: 264.6 kB / 0.5987 GB, free: 8.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.4544, allocations: 4 kB / 0.5987 GB, free: 8.859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.4547, allocations: 163.9 kB / 0.5989 GB, free: 8.699 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009685/0.4557, allocations: 177.8 kB / 0.599 GB, free: 8.531 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006089/0.4618, allocations: 4.019 MB / 0.603 GB, free: 4.332 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.4622, allocations: 0.8463 MB / 0.6038 GB, free: 3.461 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003212/0.4626, allocations: 142.8 kB / 0.6039 GB, free: 3.324 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.4628, allocations: 159.4 kB / 0.6041 GB, free: 3.168 MB / 462.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4628, allocations: 0 / 0.6041 GB, free: 3.168 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06881/0.5316, allocations: 38.96 MB / 0.6421 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.88/10.41, allocations: 19.89 kB / 0.6421 GB, free: 12.34 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