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.001124/0.001124, allocations: 102.2 kB / 16.4 MB, free: 6.473 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.00125/0.00125, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.28/1.28, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1897/0.1897, allocations: 43.52 MB / 314.1 MB, free: 468 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.001538/0.001538, allocations: 72.45 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09878/0.1003, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0315/0.1319, allocations: 30.05 MB / 0.5167 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2396/0.3715, allocations: 15.5 MB / 0.5319 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004748/0.3721, allocations: 9.625 kB / 0.5319 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007476/0.3729, allocations: 214.6 kB / 0.5321 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007729/0.3737, allocations: 266.2 kB / 0.5323 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01467/0.3883, allocations: 5.615 MB / 0.5378 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.3896, allocations: 0.8125 MB / 0.5386 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004103/0.39, allocations: 221.5 kB / 0.5388 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01316/0.4032, allocations: 5.472 MB / 0.5442 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007472/0.404, allocations: 235.5 kB / 0.5444 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.533e-05/0.4041, allocations: 28.56 kB / 0.5444 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01425/0.4184, allocations: 6.085 MB / 0.5504 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.4186, allocations: 88.97 kB / 0.5504 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003513/0.4189, allocations: 191.1 kB / 0.5506 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008086/0.427, allocations: 3.646 MB / 0.5542 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4271, allocations: 1.156 kB / 0.5542 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4271, allocations: 0 / 0.5542 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.4271, allocations: 0 / 0.5542 GB, free: 0.5508 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.00263/0.4297, allocations: 0.9925 MB / 0.5552 GB, free: 15.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4298, allocations: 13.48 kB / 0.5552 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.975e-05/0.4299, allocations: 59.92 kB / 0.5552 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009084/0.4308, allocations: 112.8 kB / 0.5553 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.4313, allocations: 350.5 kB / 0.5557 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.4313, allocations: 19.88 kB / 0.5557 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.4314, allocations: 24.19 kB / 0.5557 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.4324, allocations: 455.8 kB / 0.5561 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4324, allocations: 5.344 kB / 0.5562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.4325, allocations: 13.19 kB / 0.5562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.4325, allocations: 6.125 kB / 0.5562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.4335, allocations: 372.7 kB / 0.5565 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.4363, allocations: 2.375 MB / 0.5588 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009529/0.4372, allocations: 269.7 kB / 0.5591 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.4375, allocations: 100.2 kB / 0.5592 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/0.4379, allocations: 489.9 kB / 0.5597 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.4379, allocations: 34.5 kB / 0.5597 GB, free: 12.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.4379, allocations: 0 / 0.5597 GB, free: 12.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001614/0.4396, allocations: 446.6 kB / 0.5601 GB, free: 12.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.4396, allocations: 108.9 kB / 0.5602 GB, free: 12.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.44, allocations: 324.9 kB / 0.5605 GB, free: 12.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.44, allocations: 30.27 kB / 0.5606 GB, free: 12.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.4401, allocations: 210 kB / 0.5608 GB, free: 11.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.4402, allocations: 41.33 kB / 0.5608 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.4403, allocations: 52.8 kB / 0.5609 GB, free: 11.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4404, allocations: 339.3 kB / 0.5612 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.4406, allocations: 91.86 kB / 0.5613 GB, free: 11.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.4409, allocations: 208 kB / 0.5615 GB, free: 11.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.4414, allocations: 281.2 kB / 0.5617 GB, free: 11.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4415, allocations: 1.094 kB / 0.5617 GB, free: 11.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006957/0.4422, allocations: 324.9 kB / 0.562 GB, free: 11.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4422, allocations: 11 kB / 0.5621 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4422, allocations: 4.125 kB / 0.5621 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4422, allocations: 3.938 kB / 0.5621 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.4425, allocations: 64.61 kB / 0.5621 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.4425, allocations: 12.03 kB / 0.5621 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.4428, allocations: 43.12 kB / 0.5622 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.4428, allocations: 14.59 kB / 0.5622 GB, free: 11.02 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.0001459/0.4429, allocations: 157.1 kB / 0.5623 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.443, allocations: 34.8 kB / 0.5624 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009669/0.444, allocations: 0.7462 MB / 0.5631 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.444, allocations: 9.391 kB / 0.5631 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.444, allocations: 3.938 kB / 0.5631 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.444, allocations: 0 / 0.5631 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.4445, allocations: 0.5246 MB / 0.5636 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4446, allocations: 0 / 0.5636 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.4448, allocations: 42.39 kB / 0.5637 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4448, allocations: 1.828 kB / 0.5637 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4448, allocations: 16.41 kB / 0.5637 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4448, allocations: 0 / 0.5637 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4448, allocations: 6.25 kB / 0.5637 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006172/0.4454, allocations: 455.6 kB / 0.5641 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.4455, allocations: 122.7 kB / 0.5642 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.4456, allocations: 21.94 kB / 0.5643 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.4458, allocations: 15.42 kB / 0.5643 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.4459, allocations: 22.56 kB / 0.5643 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.4459, allocations: 4.531 kB / 0.5643 GB, free: 9.945 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003416/0.4462, allocations: 344.8 kB / 0.5646 GB, free: 9.746 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.22e-07/0.4463, allocations: 0 / 0.5646 GB, free: 9.746 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002995/0.4493, allocations: 0.843 MB / 0.5655 GB, free: 9.605 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.006036/0.4553, allocations: 1.879 MB / 0.5673 GB, free: 8.551 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006562/0.456, allocations: 267.9 kB / 0.5676 GB, free: 8.441 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.456, allocations: 4 kB / 0.5676 GB, free: 8.438 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.4563, allocations: 166.3 kB / 0.5677 GB, free: 8.355 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.4572, allocations: 187.7 kB / 0.5679 GB, free: 8.254 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/0.4641, allocations: 3.994 MB / 0.5718 GB, free: 5.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.4646, allocations: 0.8433 MB / 0.5726 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003491/0.4649, allocations: 148.3 kB / 0.5728 GB, free: 4.715 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.4651, allocations: 163.4 kB / 0.5729 GB, free: 4.582 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4652, allocations: 0 / 0.5729 GB, free: 4.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06776/0.5329, allocations: 39.08 MB / 0.6111 GB, free: 14.81 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.95/10.48, allocations: 19.72 kB / 0.6111 GB, free: 14.79 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