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.001112/0.001112, allocations: 102.8 kB / 16.27 MB, free: 6.41 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.001138/0.001139, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.423/1.423, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.2112/0.2112, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001499/0.001499, allocations: 76.12 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.1001, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02869/0.1288, allocations: 30.03 MB / 470.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01663/0.1455, allocations: 15.5 MB / 486.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.1458, allocations: 15.88 kB / 486.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006122/0.1464, allocations: 218.6 kB / 486.4 MB, free: 8.859 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005251/0.147, allocations: 266.4 kB / 486.7 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01379/0.1608, allocations: 5.613 MB / 492.3 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.1618, allocations: 0.8071 MB / 493.1 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.1622, allocations: 224.7 kB / 493.3 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/0.1741, allocations: 5.47 MB / 498.8 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.1745, allocations: 235 kB / 499 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.794e-05/0.1746, allocations: 28 kB / 499 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01009/0.1847, allocations: 5.939 MB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.1849, allocations: 79.75 kB / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.1851, allocations: 187.2 kB / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006817/0.192, allocations: 3.649 MB / 0.4969 GB, free: 2.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.192, allocations: 4 kB / 0.497 GB, free: 2.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.192, allocations: 0 / 0.497 GB, free: 2.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.192, allocations: 0 / 0.497 GB, free: 2.273 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.002774/0.1948, allocations: 0.9938 MB / 0.4979 GB, free: 1.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1949, allocations: 15.88 kB / 0.4979 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.562e-05/0.195, allocations: 62.73 kB / 0.498 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009824/0.1959, allocations: 108.5 kB / 0.4981 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.1965, allocations: 326.5 kB / 0.4984 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.1965, allocations: 24.94 kB / 0.4984 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.1966, allocations: 32.06 kB / 0.4985 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.1977, allocations: 450.9 kB / 0.4989 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1978, allocations: 0 / 0.4989 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.1978, allocations: 12 kB / 0.4989 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1978, allocations: 8 kB / 0.4989 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1989, allocations: 373.2 kB / 0.4993 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.2022, allocations: 2.391 MB / 0.5016 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009809/0.2032, allocations: 274.3 kB / 0.5019 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.2035, allocations: 96.78 kB / 0.502 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/0.2039, allocations: 489.5 kB / 0.5024 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.2039, allocations: 30.56 kB / 0.5025 GB, free: 12.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.2039, allocations: 0 / 0.5025 GB, free: 12.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001687/0.2056, allocations: 445.2 kB / 0.5029 GB, free: 11.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.2057, allocations: 110.8 kB / 0.503 GB, free: 11.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.206, allocations: 316.5 kB / 0.5033 GB, free: 11.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.2061, allocations: 37.64 kB / 0.5033 GB, free: 11.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.2062, allocations: 211.5 kB / 0.5035 GB, free: 11.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.2063, allocations: 43.47 kB / 0.5036 GB, free: 11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/0.2064, allocations: 57.59 kB / 0.5036 GB, free: 10.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2065, allocations: 338.8 kB / 0.5039 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.2068, allocations: 87.92 kB / 0.504 GB, free: 10.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.2072, allocations: 204.6 kB / 0.5042 GB, free: 10.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.2078, allocations: 289.9 kB / 0.5045 GB, free: 9.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2078, allocations: 0 / 0.5045 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007523/0.2085, allocations: 320.8 kB / 0.5048 GB, free: 9.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.2086, allocations: 4 kB / 0.5048 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2086, allocations: 4 kB / 0.5048 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/0.2086, allocations: 8 kB / 0.5048 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.2089, allocations: 72.3 kB / 0.5049 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2089, allocations: 7.938 kB / 0.5049 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.2092, allocations: 43.58 kB / 0.5049 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.2092, allocations: 19.97 kB / 0.505 GB, free: 9.445 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.0001618/0.2094, allocations: 153.7 kB / 0.5051 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.2095, allocations: 23.72 kB / 0.5051 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.2106, allocations: 0.7522 MB / 0.5059 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.2106, allocations: 11.92 kB / 0.5059 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2106, allocations: 0 / 0.5059 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.2106, allocations: 0 / 0.5059 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.2112, allocations: 0.5336 MB / 0.5064 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2112, allocations: 0 / 0.5064 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.2114, allocations: 47.89 kB / 0.5064 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.2114, allocations: 0 / 0.5064 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.2114, allocations: 0 / 0.5064 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2114, allocations: 15.88 kB / 0.5065 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2115, allocations: 0 / 0.5065 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006957/0.2122, allocations: 453.7 kB / 0.5069 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.2123, allocations: 116.6 kB / 0.507 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.2123, allocations: 27.69 kB / 0.507 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.2125, allocations: 19.92 kB / 0.507 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.2126, allocations: 19.97 kB / 0.5071 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.2126, allocations: 4 kB / 0.5071 GB, free: 7.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000379/0.213, allocations: 342.9 kB / 0.5074 GB, free: 6.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.213, allocations: 0 / 0.5074 GB, free: 6.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002423/0.2155, allocations: 0.8393 MB / 0.5082 GB, free: 6 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.005074/0.2206, allocations: 1.895 MB / 0.5101 GB, free: 4.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007446/0.2213, allocations: 276.6 kB / 0.5103 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2213, allocations: 0 / 0.5103 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.2216, allocations: 167.9 kB / 0.5105 GB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009911/0.2226, allocations: 183.3 kB / 0.5107 GB, free: 3.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006242/0.2289, allocations: 4.069 MB / 0.5146 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.2293, allocations: 0.8538 MB / 0.5155 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000375/0.2297, allocations: 143.4 kB / 0.5156 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.2299, allocations: 159.4 kB / 0.5158 GB, free: 14.06 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2299, allocations: 0 / 0.5158 GB, free: 14.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2496/0.4795, allocations: 38.91 MB / 0.5538 GB, free: 76.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.488/9.967, allocations: 0 / 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 & /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