Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009157/0.0009156, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00075/0.00075, allocations: 82.38 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2951/0.2951, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003294, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1006, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2042/0.3049, allocations: 28 MB / 0.5068 GB, free: 30.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.3173, allocations: 14.44 MB / 0.5209 GB, free: 20.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003986/0.3178, allocations: 18.47 kB / 0.5209 GB, free: 20.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.3184, allocations: 173.7 kB / 0.5211 GB, free: 20.06 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0005245/0.3189, allocations: 255.4 kB / 0.5213 GB, free: 19.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01182/0.3307, allocations: 4.313 MB / 0.5255 GB, free: 17.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009286/0.3317, allocations: 0.9399 MB / 0.5264 GB, free: 17.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.332, allocations: 195.5 kB / 0.5266 GB, free: 17.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01135/0.3433, allocations: 8.981 MB / 0.5354 GB, free: 16.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.3438, allocations: 224.2 kB / 0.5356 GB, free: 16.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.3439, allocations: 14.91 kB / 0.5356 GB, free: 16.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009655/0.3535, allocations: 5.812 MB / 0.5413 GB, free: 14.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.3537, allocations: 64.59 kB / 0.5413 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.354, allocations: 186.5 kB / 0.5415 GB, free: 14.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004946/0.3589, allocations: 2.456 MB / 0.5439 GB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.359, allocations: 1.438 kB / 0.5439 GB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.359, allocations: 3.938 kB / 0.5439 GB, free: 14.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.359, allocations: 4 kB / 0.5439 GB, free: 14.37 MB / 378.7 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.003819/0.3628, allocations: 0.929 MB / 0.5448 GB, free: 13.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3629, allocations: 8.188 kB / 0.5449 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.92e-05/0.3629, allocations: 69.59 kB / 0.5449 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008819/0.3638, allocations: 118.6 kB / 0.545 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.3642, allocations: 323.5 kB / 0.5453 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.3643, allocations: 19.81 kB / 0.5454 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.3643, allocations: 25.34 kB / 0.5454 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.3654, allocations: 474 kB / 0.5458 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3654, allocations: 0 / 0.5458 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.3655, allocations: 13.08 kB / 0.5458 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.3655, allocations: 10.66 kB / 0.5459 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.3665, allocations: 397.2 kB / 0.5462 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.3691, allocations: 2.399 MB / 0.5486 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.3701, allocations: 306.4 kB / 0.5489 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.3704, allocations: 103.7 kB / 0.549 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003274/0.3708, allocations: 489.9 kB / 0.5494 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.3708, allocations: 41.44 kB / 0.5495 GB, free: 10.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.3708, allocations: 1.375 kB / 0.5495 GB, free: 10.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.001648/0.3724, allocations: 494.4 kB / 0.5499 GB, free: 10.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3725, allocations: 116.1 kB / 0.5501 GB, free: 10.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.3728, allocations: 316.4 kB / 0.5504 GB, free: 9.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3728, allocations: 27.11 kB / 0.5504 GB, free: 9.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.3729, allocations: 210.3 kB / 0.5506 GB, free: 9.629 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.373, allocations: 41.73 kB / 0.5506 GB, free: 9.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.373, allocations: 1.281 kB / 0.5506 GB, free: 9.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.3731, allocations: 336.3 kB / 0.5509 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.3733, allocations: 101.7 kB / 0.551 GB, free: 9.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.3736, allocations: 210.8 kB / 0.5512 GB, free: 9.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/0.3742, allocations: 301.3 kB / 0.5515 GB, free: 8.789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3742, allocations: 0 / 0.5515 GB, free: 8.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006978/0.3749, allocations: 345.1 kB / 0.5519 GB, free: 8.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3749, allocations: 6.719 kB / 0.5519 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.375, allocations: 7.688 kB / 0.5519 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.375, allocations: 5.406 kB / 0.5519 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.3752, allocations: 71.27 kB / 0.552 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3752, allocations: 8.062 kB / 0.552 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.3755, allocations: 48.33 kB / 0.552 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.3756, allocations: 18.48 kB / 0.552 GB, free: 8.551 MB / 378.7 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_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 initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.3757, allocations: 151.8 kB / 0.5522 GB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.3758, allocations: 29.72 kB / 0.5522 GB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.3768, allocations: 0.7918 MB / 0.553 GB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.3768, allocations: 6.859 kB / 0.553 GB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3768, allocations: 4.812 kB / 0.553 GB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3768, allocations: 1.438 kB / 0.553 GB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.3773, allocations: 0.5344 MB / 0.5535 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3773, allocations: 4.875 kB / 0.5535 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.3775, allocations: 48.86 kB / 0.5536 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3775, allocations: 1.25 kB / 0.5536 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3776, allocations: 9.344 kB / 0.5536 GB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3776, allocations: 1.188 kB / 0.5536 GB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3776, allocations: 7.938 kB / 0.5536 GB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006054/0.3782, allocations: 482.2 kB / 0.554 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3783, allocations: 183.7 kB / 0.5542 GB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.3783, allocations: 4 kB / 0.5542 GB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.3786, allocations: 27.59 kB / 0.5542 GB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.3786, allocations: 24.56 kB / 0.5543 GB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3787, allocations: 3.156 kB / 0.5543 GB, free: 6.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000325/0.379, allocations: 335.2 kB / 0.5546 GB, free: 6.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.379, allocations: 1.344 kB / 0.5546 GB, free: 6.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004388/0.3834, allocations: 0.8436 MB / 0.5554 GB, free: 6.57 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007846/0.3913, allocations: 1.91 MB / 0.5573 GB, free: 5.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008996/0.3922, allocations: 287.8 kB / 0.5575 GB, free: 5.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3922, allocations: 4 kB / 0.5576 GB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.3925, allocations: 172 kB / 0.5577 GB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.3936, allocations: 177.5 kB / 0.5579 GB, free: 5.008 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/0.3988, allocations: 2.594 MB / 0.5604 GB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.3991, allocations: 0.8388 MB / 0.5612 GB, free: 1.453 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.3992, allocations: 159.4 kB / 0.5614 GB, free: 1.301 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3992, allocations: 3.938 kB / 0.5614 GB, free: 1.297 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.711/5.111, allocations: 20.49 MB / 0.5814 GB, free: 12.77 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches