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.001425/0.001425, allocations: 108.4 kB / 16.41 MB, free: 6.461 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.001177/0.001177, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2206/0.2206, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.001714/0.001714, allocations: 73.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1365, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04125/0.1778, allocations: 30.05 MB / 0.5167 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2774/0.4553, allocations: 15.49 MB / 0.5319 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004534/0.4557, allocations: 11 kB / 0.5319 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000736/0.4566, allocations: 214.3 kB / 0.5321 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006334/0.4572, allocations: 269.7 kB / 0.5323 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01678/0.474, allocations: 5.614 MB / 0.5378 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.4754, allocations: 0.8115 MB / 0.5386 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004563/0.4759, allocations: 224.9 kB / 0.5388 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01191/0.4878, allocations: 5.468 MB / 0.5442 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006102/0.4884, allocations: 239 kB / 0.5444 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.135e-05/0.4885, allocations: 29.5 kB / 0.5444 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/0.503, allocations: 6.081 MB / 0.5504 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.5033, allocations: 88.73 kB / 0.5505 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.5037, allocations: 185.7 kB / 0.5506 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.5143, allocations: 3.646 MB / 0.5542 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.5143, allocations: 1.25 kB / 0.5542 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.5143, allocations: 4 kB / 0.5542 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.5143, allocations: 2.625 kB / 0.5542 GB, free: 0.5078 MB / 414.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.003986/0.5183, allocations: 0.9857 MB / 0.5552 GB, free: 15.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.5184, allocations: 13.48 kB / 0.5552 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.766e-05/0.5185, allocations: 68.41 kB / 0.5552 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009503/0.5195, allocations: 114.1 kB / 0.5553 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.52, allocations: 339.8 kB / 0.5557 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.5201, allocations: 26.91 kB / 0.5557 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.5201, allocations: 27.34 kB / 0.5557 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.5213, allocations: 456.5 kB / 0.5562 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5213, allocations: 0 / 0.5562 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.5213, allocations: 11.88 kB / 0.5562 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.5214, allocations: 11.34 kB / 0.5562 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.5224, allocations: 370.3 kB / 0.5565 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.5257, allocations: 2.371 MB / 0.5588 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.5268, allocations: 281.3 kB / 0.5591 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.5271, allocations: 91.11 kB / 0.5592 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005497/0.5277, allocations: 480.3 kB / 0.5597 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.5277, allocations: 36.5 kB / 0.5597 GB, free: 12.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 4.919e-06/0.5277, allocations: 4 kB / 0.5597 GB, free: 12.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001788/0.5295, allocations: 459.9 kB / 0.5601 GB, free: 12.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.5296, allocations: 108 kB / 0.5602 GB, free: 12.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.5301, allocations: 321.6 kB / 0.5605 GB, free: 12.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.5301, allocations: 26.8 kB / 0.5606 GB, free: 11.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.5303, allocations: 210.2 kB / 0.5608 GB, free: 11.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.5303, allocations: 42.55 kB / 0.5608 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.5304, allocations: 58.19 kB / 0.5609 GB, free: 11.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.5306, allocations: 340.9 kB / 0.5612 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.5309, allocations: 81.12 kB / 0.5613 GB, free: 11.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.5313, allocations: 213.9 kB / 0.5615 GB, free: 11.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.5319, allocations: 273.3 kB / 0.5617 GB, free: 11.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5319, allocations: 0.8125 kB / 0.5617 GB, free: 11.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007499/0.5327, allocations: 317.9 kB / 0.562 GB, free: 11.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5327, allocations: 12.59 kB / 0.5621 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.5327, allocations: 6.797 kB / 0.5621 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.5327, allocations: 4.812 kB / 0.5621 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.533, allocations: 60.56 kB / 0.5621 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.533, allocations: 12.42 kB / 0.5621 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.5333, allocations: 46.05 kB / 0.5622 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.5333, allocations: 15.41 kB / 0.5622 GB, free: 10.98 MB / 430.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.0001863/0.5335, allocations: 164.3 kB / 0.5623 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.5337, allocations: 29.28 kB / 0.5624 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.5349, allocations: 0.7505 MB / 0.5631 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.5349, allocations: 4.531 kB / 0.5631 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.5349, allocations: 3.938 kB / 0.5631 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.535, allocations: 5.766 kB / 0.5631 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000671/0.5356, allocations: 0.5188 MB / 0.5636 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5356, allocations: 0 / 0.5636 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.5359, allocations: 44.7 kB / 0.5637 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.5359, allocations: 7 kB / 0.5637 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.5359, allocations: 3.688 kB / 0.5637 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.5359, allocations: 7.828 kB / 0.5637 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5359, allocations: 3.938 kB / 0.5637 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007218/0.5366, allocations: 464.3 kB / 0.5641 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.5368, allocations: 114.4 kB / 0.5642 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.741e-05/0.5369, allocations: 24.94 kB / 0.5643 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.5371, allocations: 13.02 kB / 0.5643 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5372, allocations: 24.09 kB / 0.5643 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.5372, allocations: 6.312 kB / 0.5643 GB, free: 9.906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003538/0.5376, allocations: 350.1 kB / 0.5646 GB, free: 9.723 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5376, allocations: 0 / 0.5646 GB, free: 9.723 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00364/0.5412, allocations: 0.8372 MB / 0.5655 GB, free: 9.582 MB / 430.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.00777/0.549, allocations: 1.882 MB / 0.5673 GB, free: 8.531 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008078/0.5499, allocations: 271 kB / 0.5676 GB, free: 8.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.5499, allocations: 0 / 0.5676 GB, free: 8.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.5502, allocations: 165.7 kB / 0.5677 GB, free: 8.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.5514, allocations: 188.5 kB / 0.5679 GB, free: 8.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008237/0.5597, allocations: 3.988 MB / 0.5718 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.5603, allocations: 0.8418 MB / 0.5726 GB, free: 4.766 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004974/0.5608, allocations: 150.4 kB / 0.5728 GB, free: 4.699 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.5611, allocations: 165.1 kB / 0.5729 GB, free: 4.562 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5611, allocations: 0 / 0.5729 GB, free: 4.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07623/0.6374, allocations: 39.09 MB / 0.6111 GB, free: 14.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.99, allocations: 19.8 kB / 0.6111 GB, free: 14.75 MB / 478.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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