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.007005/0.007004, allocations: 100.1 kB / 15.87 MB, free: 6.316 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.001182/0.001182, allocations: 192.4 kB / 16.79 MB, free: 6.242 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.331/1.331, allocations: 205.1 MB / 222.6 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3038/0.3038, allocations: 43.5 MB / 313.5 MB, free: 8.523 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.001355/0.001355, allocations: 67.91 kB / 382.1 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1079, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.1946/0.3025, allocations: 30.89 MB / 470.8 MB, free: 33.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.3153, allocations: 16.47 MB / 487.3 MB, free: 22.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.3156, allocations: 10.12 kB / 487.3 MB, free: 22.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.3162, allocations: 187.6 kB / 487.5 MB, free: 22.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004352/0.3167, allocations: 251.8 kB / 487.7 MB, free: 22.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.3271, allocations: 4.51 MB / 492.2 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009272/0.328, allocations: 1.097 MB / 493.3 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.3283, allocations: 202.9 kB / 493.5 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01017/0.3385, allocations: 5.389 MB / 498.9 MB, free: 17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004118/0.339, allocations: 238 kB / 499.1 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.339, allocations: 14.72 kB / 499.2 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/0.3494, allocations: 6 MB / 0.4933 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.3496, allocations: 74.23 kB / 0.4934 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.3499, allocations: 172.6 kB / 0.4936 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00918/0.3591, allocations: 3.648 MB / 0.4971 GB, free: 14.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3592, allocations: 3.938 kB / 0.4971 GB, free: 14.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3592, allocations: 0 / 0.4971 GB, free: 14.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.3592, allocations: 1.375 kB / 0.4971 GB, free: 14.3 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.00352/0.3627, allocations: 0.9939 MB / 0.4981 GB, free: 13.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3628, allocations: 12.84 kB / 0.4981 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.33e-05/0.3628, allocations: 67.53 kB / 0.4982 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00091/0.3638, allocations: 106.4 kB / 0.4983 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.3641, allocations: 325.5 kB / 0.4986 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3642, allocations: 26.12 kB / 0.4986 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.3642, allocations: 23.03 kB / 0.4986 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.3653, allocations: 467.6 kB / 0.4991 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3653, allocations: 3.938 kB / 0.4991 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.3653, allocations: 12.53 kB / 0.4991 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.3653, allocations: 6.094 kB / 0.4991 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.3664, allocations: 366 kB / 0.4994 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.3688, allocations: 2.375 MB / 0.5018 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009515/0.3698, allocations: 280.5 kB / 0.502 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.3701, allocations: 96.52 kB / 0.5021 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.3704, allocations: 484 kB / 0.5026 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.3704, allocations: 34.56 kB / 0.5026 GB, free: 9.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.3704, allocations: 0 / 0.5026 GB, free: 9.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001561/0.372, allocations: 458.5 kB / 0.5031 GB, free: 9.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.372, allocations: 108.9 kB / 0.5032 GB, free: 9.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.3723, allocations: 327.7 kB / 0.5035 GB, free: 9.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3723, allocations: 30.77 kB / 0.5035 GB, free: 9.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.3724, allocations: 202.3 kB / 0.5037 GB, free: 9.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.3725, allocations: 41.08 kB / 0.5037 GB, free: 9.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.3725, allocations: 54.66 kB / 0.5038 GB, free: 9.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.3726, allocations: 337.1 kB / 0.5041 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.3729, allocations: 88.98 kB / 0.5042 GB, free: 8.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.3731, allocations: 204.8 kB / 0.5044 GB, free: 8.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/0.3737, allocations: 278.5 kB / 0.5047 GB, free: 8.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3737, allocations: 1.375 kB / 0.5047 GB, free: 8.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006687/0.3744, allocations: 319.8 kB / 0.505 GB, free: 8.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3744, allocations: 6.906 kB / 0.505 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3744, allocations: 7.438 kB / 0.505 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3744, allocations: 4.969 kB / 0.505 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.3747, allocations: 61.8 kB / 0.505 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3747, allocations: 9.688 kB / 0.505 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.375, allocations: 50.45 kB / 0.5051 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.375, allocations: 18.2 kB / 0.5051 GB, free: 7.969 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.000123/0.3751, allocations: 160.5 kB / 0.5053 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.3752, allocations: 30.38 kB / 0.5053 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009535/0.3762, allocations: 0.7464 MB / 0.506 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3762, allocations: 11.33 kB / 0.506 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3762, allocations: 3.938 kB / 0.506 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3762, allocations: 0 / 0.506 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.3767, allocations: 0.5282 MB / 0.5066 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3767, allocations: 3.984 kB / 0.5066 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.3769, allocations: 45.08 kB / 0.5066 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3769, allocations: 1.312 kB / 0.5066 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3769, allocations: 5.5 kB / 0.5066 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3769, allocations: 0 / 0.5066 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3769, allocations: 5.344 kB / 0.5066 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/0.3775, allocations: 462.4 kB / 0.5071 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.3776, allocations: 114.5 kB / 0.5072 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.3777, allocations: 29.48 kB / 0.5072 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.3779, allocations: 16.98 kB / 0.5072 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.378, allocations: 27.66 kB / 0.5072 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.378, allocations: 3.719 kB / 0.5072 GB, free: 6.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003128/0.3783, allocations: 339.5 kB / 0.5076 GB, free: 6.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3783, allocations: 0 / 0.5076 GB, free: 6.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003812/0.3821, allocations: 0.8486 MB / 0.5084 GB, free: 6.051 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.007668/0.3898, allocations: 1.893 MB / 0.5102 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008059/0.3907, allocations: 272.9 kB / 0.5105 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3907, allocations: 1.188 kB / 0.5105 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.391, allocations: 159.7 kB / 0.5106 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.392, allocations: 180.3 kB / 0.5108 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007112/0.3991, allocations: 4.226 MB / 0.5149 GB, free: 1.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3993, allocations: 0.8392 MB / 0.5158 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003448/0.3997, allocations: 142.2 kB / 0.5159 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.3999, allocations: 163.8 kB / 0.5161 GB, free: 0.625 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3999, allocations: 1.25 kB / 0.5161 GB, free: 0.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/0.4581, allocations: 38.4 MB / 0.5536 GB, free: 12.35 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/0.4585, allocations: 267.7 kB / 0.5538 GB, free: 12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.397/3.856, allocations: 0 / 0.5538 GB, free: 12 MB / 430.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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches