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.001255/0.001255, allocations: 103.1 kB / 16.27 MB, free: 5.973 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.002005/0.002005, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.393/1.393, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2003/0.2003, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 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.001496/0.001496, allocations: 67.73 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02902/0.1346, allocations: 30.04 MB / 470.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01681/0.1515, allocations: 15.51 MB / 486.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.1519, allocations: 11.94 kB / 486.2 MB, free: 9.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006905/0.1526, allocations: 218.6 kB / 486.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000612/0.1532, allocations: 266.4 kB / 486.7 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01426/0.1675, allocations: 5.613 MB / 492.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.1686, allocations: 0.8109 MB / 493.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/0.169, allocations: 224 kB / 493.3 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/0.1807, allocations: 5.478 MB / 498.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004077/0.1811, allocations: 231 kB / 499 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.66e-05/0.1812, allocations: 28 kB / 499 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009734/0.1909, allocations: 5.935 MB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.1911, allocations: 87.73 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.1914, allocations: 187.1 kB / 0.4934 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006556/0.198, allocations: 3.645 MB / 0.497 GB, free: 2.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.198, allocations: 0 / 0.497 GB, free: 2.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.198, allocations: 0 / 0.497 GB, free: 2.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.198, allocations: 0 / 0.497 GB, free: 2.301 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.001946/0.2, allocations: 1.002 MB / 0.4979 GB, free: 1.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2, allocations: 11.89 kB / 0.4979 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.364e-05/0.2001, allocations: 62.73 kB / 0.498 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008512/0.2009, allocations: 108.4 kB / 0.4981 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.2013, allocations: 326.5 kB / 0.4984 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.2014, allocations: 24.94 kB / 0.4984 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.2014, allocations: 32.11 kB / 0.4985 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2024, allocations: 450.9 kB / 0.4989 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2025, allocations: 3.938 kB / 0.4989 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.2025, allocations: 12 kB / 0.4989 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.2025, allocations: 8 kB / 0.4989 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2036, allocations: 369.3 kB / 0.4993 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.2066, allocations: 2.387 MB / 0.5016 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009796/0.2076, allocations: 274.3 kB / 0.5019 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.2079, allocations: 96.78 kB / 0.502 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004155/0.2083, allocations: 489.5 kB / 0.5024 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.2083, allocations: 30.56 kB / 0.5025 GB, free: 12.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.2083, allocations: 0 / 0.5025 GB, free: 12.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001661/0.21, allocations: 449.1 kB / 0.5029 GB, free: 11.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.2101, allocations: 114.7 kB / 0.503 GB, free: 11.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.2104, allocations: 320.4 kB / 0.5033 GB, free: 11.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.2104, allocations: 29.7 kB / 0.5033 GB, free: 11.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2106, allocations: 211.6 kB / 0.5035 GB, free: 11.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.2106, allocations: 43.45 kB / 0.5036 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-05/0.2107, allocations: 53.7 kB / 0.5036 GB, free: 10.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2108, allocations: 342.8 kB / 0.504 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.2111, allocations: 79.94 kB / 0.504 GB, free: 10.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.2114, allocations: 211.2 kB / 0.5042 GB, free: 10.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005755/0.212, allocations: 285.5 kB / 0.5045 GB, free: 9.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.212, allocations: 0 / 0.5045 GB, free: 9.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007394/0.2128, allocations: 317.3 kB / 0.5048 GB, free: 9.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2128, allocations: 4 kB / 0.5048 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.2128, allocations: 4 kB / 0.5048 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2128, allocations: 11.94 kB / 0.5048 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.2131, allocations: 72.3 kB / 0.5049 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.2131, allocations: 4 kB / 0.5049 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.2133, allocations: 51.56 kB / 0.5049 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.2134, allocations: 8 kB / 0.505 GB, free: 9.477 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.0001514/0.2135, allocations: 157.7 kB / 0.5051 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.2136, allocations: 23.72 kB / 0.5051 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.215, allocations: 0.7599 MB / 0.5059 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.215, allocations: 11.92 kB / 0.5059 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.215, allocations: 0 / 0.5059 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.215, allocations: 0 / 0.5059 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.2156, allocations: 0.5336 MB / 0.5064 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2156, allocations: 0 / 0.5064 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.2158, allocations: 47.89 kB / 0.5064 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2158, allocations: 0 / 0.5064 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.2159, allocations: 4 kB / 0.5064 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2159, allocations: 7.938 kB / 0.5065 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2159, allocations: 0 / 0.5065 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007862/0.2167, allocations: 457.6 kB / 0.5069 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.2168, allocations: 120.6 kB / 0.507 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.2168, allocations: 23.69 kB / 0.507 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.2171, allocations: 23.92 kB / 0.5071 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.2171, allocations: 15.97 kB / 0.5071 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.2172, allocations: 8 kB / 0.5071 GB, free: 7.191 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003478/0.2175, allocations: 342.8 kB / 0.5074 GB, free: 6.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2175, allocations: 0 / 0.5074 GB, free: 6.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0022/0.2197, allocations: 0.8354 MB / 0.5082 GB, free: 6.02 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.004189/0.2239, allocations: 1.894 MB / 0.5101 GB, free: 4.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007598/0.2247, allocations: 272.6 kB / 0.5103 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2247, allocations: 7.875 kB / 0.5103 GB, free: 3.828 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.225, allocations: 163.9 kB / 0.5105 GB, free: 3.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009599/0.226, allocations: 184.4 kB / 0.5107 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00579/0.2318, allocations: 4.062 MB / 0.5146 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.2322, allocations: 0.8499 MB / 0.5155 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003593/0.2326, allocations: 143.3 kB / 0.5156 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.2328, allocations: 155.4 kB / 0.5158 GB, free: 14.09 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2328, allocations: 3.938 kB / 0.5158 GB, free: 14.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2517/0.4845, allocations: 38.91 MB / 0.5537 GB, free: 76.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.543/10.03, allocations: 4.062 kB / 0.5538 GB, free: 76.77 MB / 414.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