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.001431/0.001431, allocations: 105.9 kB / 17.32 MB, free: 5.984 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.001649/0.001649, allocations: 189.3 kB / 18.25 MB, free: 5.074 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.387/1.387, allocations: 222.9 MB / 241.9 MB, free: 15.34 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.2167/0.2167, allocations: 44.18 MB / 336.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001286, allocations: 64.31 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1202, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03384/0.1541, allocations: 30.13 MB / 499 MB, free: 388 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02087/0.175, allocations: 15.59 MB / 0.5025 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005496/0.1756, allocations: 19.88 kB / 0.5025 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008945/0.1765, allocations: 191 kB / 0.5027 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000853/0.1775, allocations: 242.6 kB / 0.5029 GB, free: 296 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2492/0.4268, allocations: 4.971 MB / 0.5078 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.4281, allocations: 0.8143 MB / 0.5086 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004062/0.4286, allocations: 226 kB / 0.5088 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/0.4406, allocations: 5.457 MB / 0.5141 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005816/0.4412, allocations: 243.9 kB / 0.5143 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.382e-05/0.4413, allocations: 28.41 kB / 0.5144 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0124/0.4537, allocations: 5.997 MB / 0.5202 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.4539, allocations: 85.33 kB / 0.5203 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00038/0.4543, allocations: 187.5 kB / 0.5205 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008684/0.463, allocations: 3.664 MB / 0.5241 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.463, allocations: 0 / 0.5241 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.463, allocations: 0 / 0.5241 GB, free: 8.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.463, allocations: 4 kB / 0.5241 GB, free: 8.57 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.002541/0.4656, allocations: 0.9949 MB / 0.525 GB, free: 7.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4656, allocations: 8.5 kB / 0.525 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.21e-05/0.4657, allocations: 59.2 kB / 0.5251 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008804/0.4666, allocations: 109.5 kB / 0.5252 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.4669, allocations: 327.6 kB / 0.5255 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.4669, allocations: 23.72 kB / 0.5255 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.467, allocations: 24.41 kB / 0.5256 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009941/0.468, allocations: 459.7 kB / 0.526 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.468, allocations: 6.609 kB / 0.526 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.468, allocations: 11.91 kB / 0.526 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.4681, allocations: 6.75 kB / 0.526 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009738/0.469, allocations: 369.4 kB / 0.5264 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.4714, allocations: 2.385 MB / 0.5287 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000942/0.4724, allocations: 273.2 kB / 0.529 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.4726, allocations: 100.6 kB / 0.5291 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/0.4729, allocations: 485.5 kB / 0.5295 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.473, allocations: 37.59 kB / 0.5296 GB, free: 4.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.473, allocations: 224 / 0.5296 GB, free: 4.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.00155/0.4745, allocations: 446.9 kB / 0.53 GB, free: 4.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.4746, allocations: 113.5 kB / 0.5301 GB, free: 4.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.4749, allocations: 320 kB / 0.5304 GB, free: 4.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.4749, allocations: 29.64 kB / 0.5304 GB, free: 4.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.475, allocations: 211.6 kB / 0.5306 GB, free: 3.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.475, allocations: 39.28 kB / 0.5307 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-05/0.4751, allocations: 63.28 kB / 0.5307 GB, free: 3.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.4752, allocations: 339.3 kB / 0.5311 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.4754, allocations: 92.02 kB / 0.5311 GB, free: 3.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.4757, allocations: 203.1 kB / 0.5313 GB, free: 3.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.4762, allocations: 276.1 kB / 0.5316 GB, free: 3.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4762, allocations: 3.984 kB / 0.5316 GB, free: 3.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006281/0.4769, allocations: 316.4 kB / 0.5319 GB, free: 3.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4769, allocations: 11.53 kB / 0.5319 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4769, allocations: 6.344 kB / 0.5319 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4769, allocations: 5.531 kB / 0.5319 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.4772, allocations: 69.11 kB / 0.532 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4772, allocations: 13.19 kB / 0.532 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.4774, allocations: 54.78 kB / 0.5321 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.4774, allocations: 9.188 kB / 0.5321 GB, free: 3.047 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.0001215/0.4776, allocations: 153.3 kB / 0.5322 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.4776, allocations: 25.53 kB / 0.5322 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009247/0.4786, allocations: 0.7433 MB / 0.533 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.4786, allocations: 10.23 kB / 0.533 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4786, allocations: 3.938 kB / 0.533 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4786, allocations: 0 / 0.533 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.479, allocations: 0.5309 MB / 0.5335 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.479, allocations: 0 / 0.5335 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.4792, allocations: 42.64 kB / 0.5335 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.4792, allocations: 0.8438 kB / 0.5335 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4793, allocations: 2.875 kB / 0.5335 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4793, allocations: 3.312 kB / 0.5335 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4793, allocations: 3.938 kB / 0.5335 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.4799, allocations: 464.8 kB / 0.534 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.48, allocations: 117.4 kB / 0.5341 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.48, allocations: 23.69 kB / 0.5341 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.4803, allocations: 22.27 kB / 0.5341 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.4803, allocations: 27.09 kB / 0.5342 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.4803, allocations: 4.438 kB / 0.5342 GB, free: 1.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002966/0.4806, allocations: 344.9 kB / 0.5345 GB, free: 1.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4806, allocations: 0 / 0.5345 GB, free: 1.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002393/0.483, allocations: 0.8434 MB / 0.5353 GB, free: 1.738 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.004244/0.4873, allocations: 1.89 MB / 0.5372 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006917/0.488, allocations: 280 kB / 0.5374 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.488, allocations: 3.312 kB / 0.5374 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.4883, allocations: 168.6 kB / 0.5376 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008825/0.4892, allocations: 179 kB / 0.5378 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.4949, allocations: 4.213 MB / 0.5419 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.4953, allocations: 0.8424 MB / 0.5427 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003558/0.4957, allocations: 142.8 kB / 0.5429 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.4959, allocations: 159.4 kB / 0.543 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4959, allocations: 4 kB / 0.543 GB, free: 11.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06408/0.56, allocations: 38.72 MB / 0.5808 GB, free: 5.184 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/0.5603, allocations: 270.4 kB / 0.5811 GB, free: 4.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.872/4.432, allocations: 0 / 0.5811 GB, free: 4.824 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