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.001157/0.001157, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001181/0.001181, allocations: 194 kB / 18.12 MB, free: 5.383 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.342/1.342, allocations: 222.9 MB / 241.8 MB, free: 15.52 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.2141/0.2141, allocations: 44.17 MB / 336.1 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 62.09 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 60.84 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03508/0.1473, allocations: 30.87 MB / 499.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2446/0.392, allocations: 16.48 MB / 0.5039 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004137/0.3924, allocations: 11.47 kB / 0.5039 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.3932, allocations: 188.2 kB / 0.5041 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006041/0.3938, allocations: 253.5 kB / 0.5043 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01486/0.4087, allocations: 4.512 MB / 0.5087 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.4104, allocations: 1.098 MB / 0.5098 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.4108, allocations: 193.9 kB / 0.51 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0124/0.4232, allocations: 5.4 MB / 0.5153 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006757/0.4239, allocations: 241.3 kB / 0.5155 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.981e-05/0.424, allocations: 15.53 kB / 0.5155 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01328/0.4373, allocations: 6.004 MB / 0.5214 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.4375, allocations: 85.53 kB / 0.5215 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.4379, allocations: 171.5 kB / 0.5216 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009978/0.4479, allocations: 3.652 MB / 0.5252 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.448, allocations: 0 / 0.5252 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.448, allocations: 0 / 0.5252 GB, free: 8.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.448, allocations: 0 / 0.5252 GB, free: 8.203 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.003238/0.4512, allocations: 0.9905 MB / 0.5262 GB, free: 7.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.4513, allocations: 18.28 kB / 0.5262 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.433e-05/0.4514, allocations: 64.91 kB / 0.5262 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000961/0.4523, allocations: 107.1 kB / 0.5263 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.4527, allocations: 324.6 kB / 0.5266 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.4528, allocations: 24.75 kB / 0.5267 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.4528, allocations: 23.19 kB / 0.5267 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.4539, allocations: 456.3 kB / 0.5271 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4539, allocations: 2.531 kB / 0.5271 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.4539, allocations: 11 kB / 0.5271 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.454, allocations: 9.016 kB / 0.5271 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.455, allocations: 375.3 kB / 0.5275 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002662/0.4577, allocations: 2.386 MB / 0.5298 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009916/0.4587, allocations: 278.5 kB / 0.5301 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.4589, allocations: 90.73 kB / 0.5302 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/0.4593, allocations: 490.6 kB / 0.5307 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.4593, allocations: 34.56 kB / 0.5307 GB, free: 4.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.144e-06/0.4593, allocations: 2.688 kB / 0.5307 GB, free: 4.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001654/0.461, allocations: 452.8 kB / 0.5311 GB, free: 3.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.461, allocations: 109 kB / 0.5312 GB, free: 3.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.4613, allocations: 323.9 kB / 0.5315 GB, free: 3.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.4614, allocations: 29.2 kB / 0.5316 GB, free: 3.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/0.4615, allocations: 202.1 kB / 0.5318 GB, free: 3.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.4615, allocations: 42.77 kB / 0.5318 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/0.4616, allocations: 65.12 kB / 0.5319 GB, free: 3.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.4617, allocations: 337.4 kB / 0.5322 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.4619, allocations: 91.39 kB / 0.5323 GB, free: 3.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.4622, allocations: 199.1 kB / 0.5325 GB, free: 2.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.4628, allocations: 289.2 kB / 0.5327 GB, free: 2.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4628, allocations: 2.812 kB / 0.5327 GB, free: 2.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006903/0.4635, allocations: 315.4 kB / 0.533 GB, free: 2.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.4635, allocations: 11.31 kB / 0.533 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4636, allocations: 2.281 kB / 0.533 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.4636, allocations: 5.844 kB / 0.5331 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.4638, allocations: 63.61 kB / 0.5331 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.4639, allocations: 15.84 kB / 0.5331 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.4641, allocations: 46.55 kB / 0.5332 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.4642, allocations: 16.39 kB / 0.5332 GB, free: 2.672 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.0001373/0.4643, allocations: 150.2 kB / 0.5333 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.4644, allocations: 27.31 kB / 0.5334 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009962/0.4654, allocations: 0.7515 MB / 0.5341 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.4654, allocations: 8.672 kB / 0.5341 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4654, allocations: 3.938 kB / 0.5341 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4654, allocations: 2.125 kB / 0.5341 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.4659, allocations: 0.5248 MB / 0.5346 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4659, allocations: 3.984 kB / 0.5346 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.4661, allocations: 41.33 kB / 0.5347 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4661, allocations: 3.844 kB / 0.5347 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4661, allocations: 6.5 kB / 0.5347 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4661, allocations: 6.531 kB / 0.5347 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4661, allocations: 7.125 kB / 0.5347 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006066/0.4668, allocations: 460.1 kB / 0.5351 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.4668, allocations: 120.3 kB / 0.5352 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.4669, allocations: 23.72 kB / 0.5353 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.4671, allocations: 19.19 kB / 0.5353 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.4672, allocations: 23.81 kB / 0.5353 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.4672, allocations: 5.094 kB / 0.5353 GB, free: 1.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.4675, allocations: 339.9 kB / 0.5356 GB, free: 1.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4675, allocations: 0 / 0.5356 GB, free: 1.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002781/0.4703, allocations: 0.843 MB / 0.5365 GB, free: 1.355 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.005337/0.4757, allocations: 1.897 MB / 0.5383 GB, free: 408 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007309/0.4764, allocations: 273.5 kB / 0.5386 GB, free: 332 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4765, allocations: 2.938 kB / 0.5386 GB, free: 332 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002713/0.4767, allocations: 163.1 kB / 0.5387 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.4778, allocations: 178 kB / 0.5389 GB, free: 160 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008144/0.4859, allocations: 4.2 MB / 0.543 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.4864, allocations: 0.8385 MB / 0.5438 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004402/0.4868, allocations: 151 kB / 0.544 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.4871, allocations: 167.4 kB / 0.5441 GB, free: 11.16 MB / 398.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4871, allocations: 0 / 0.5441 GB, free: 11.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06988/0.557, allocations: 38.41 MB / 0.5816 GB, free: 5.004 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.5572, allocations: 266.1 kB / 0.5819 GB, free: 4.648 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.898/4.456, allocations: 0 / 0.5819 GB, free: 4.648 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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