Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001235/0.001235, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 75.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3444, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04041/0.3849, allocations: 30.18 MB / 0.56 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01994/0.4048, allocations: 15.55 MB / 0.5752 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.4054, allocations: 11.94 kB / 0.5752 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008166/0.4063, allocations: 214.6 kB / 0.5754 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008544/0.4071, allocations: 270.4 kB / 0.5756 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0185/0.4256, allocations: 5.658 MB / 0.5812 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.4272, allocations: 0.8147 MB / 0.582 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006514/0.4279, allocations: 228.8 kB / 0.5822 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01478/0.4427, allocations: 5.489 MB / 0.5875 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006639/0.4434, allocations: 234.9 kB / 0.5878 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.4436, allocations: 28 kB / 0.5878 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01232/0.4559, allocations: 6.103 MB / 0.5937 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.4562, allocations: 87.69 kB / 0.5938 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.4565, allocations: 187.1 kB / 0.594 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008603/0.4651, allocations: 3.675 MB / 0.5976 GB, free: 12.87 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4652, allocations: 0 / 0.5976 GB, free: 12.87 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4652, allocations: 0 / 0.5976 GB, free: 12.87 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.4652, allocations: 0 / 0.5976 GB, free: 12.87 MB / 462.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.002535/0.4677, allocations: 1.03 MB / 0.5986 GB, free: 11.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.4678, allocations: 12.02 kB / 0.5986 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.903e-05/0.4679, allocations: 58.73 kB / 0.5987 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.4689, allocations: 124.6 kB / 0.5988 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/0.4695, allocations: 342.8 kB / 0.5991 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.4696, allocations: 24.94 kB / 0.5991 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.4696, allocations: 32.06 kB / 0.5992 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.4707, allocations: 450.9 kB / 0.5996 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4708, allocations: 3.984 kB / 0.5996 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.4708, allocations: 12 kB / 0.5996 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.4708, allocations: 8 kB / 0.5996 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.4719, allocations: 365.3 kB / 0.6 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.475, allocations: 2.38 MB / 0.6023 GB, free: 7.707 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.476, allocations: 274.3 kB / 0.6026 GB, free: 7.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.4763, allocations: 100.7 kB / 0.6027 GB, free: 7.328 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004264/0.4767, allocations: 481.5 kB / 0.6031 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.4768, allocations: 38.56 kB / 0.6032 GB, free: 6.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 2.204e-06/0.4768, allocations: 0 / 0.6032 GB, free: 6.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001632/0.4784, allocations: 457.5 kB / 0.6036 GB, free: 6.266 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.4785, allocations: 106.8 kB / 0.6037 GB, free: 6.137 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.4788, allocations: 328.4 kB / 0.604 GB, free: 5.805 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.4789, allocations: 29.7 kB / 0.604 GB, free: 5.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.479, allocations: 216 kB / 0.6042 GB, free: 5.555 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.4791, allocations: 39.69 kB / 0.6043 GB, free: 5.516 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/0.4792, allocations: 57.66 kB / 0.6043 GB, free: 5.453 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4793, allocations: 342.8 kB / 0.6047 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.4796, allocations: 91.81 kB / 0.6047 GB, free: 5.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.4799, allocations: 203.4 kB / 0.6049 GB, free: 4.766 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.4805, allocations: 277.5 kB / 0.6052 GB, free: 4.445 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4805, allocations: 7.938 kB / 0.6052 GB, free: 4.438 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007125/0.4812, allocations: 317.2 kB / 0.6055 GB, free: 4.121 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4813, allocations: 4 kB / 0.6055 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4813, allocations: 4 kB / 0.6055 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.4813, allocations: 8 kB / 0.6055 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.4816, allocations: 67.83 kB / 0.6056 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.4816, allocations: 4 kB / 0.6056 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.4818, allocations: 51.92 kB / 0.6056 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.4819, allocations: 16 kB / 0.6057 GB, free: 3.969 MB / 462.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.0001592/0.482, allocations: 153.7 kB / 0.6058 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.4821, allocations: 35.75 kB / 0.6058 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.4832, allocations: 0.7383 MB / 0.6066 GB, free: 3.027 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.4832, allocations: 11.92 kB / 0.6066 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4832, allocations: 0 / 0.6066 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4832, allocations: 0 / 0.6066 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.4838, allocations: 0.53 MB / 0.6071 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.4838, allocations: 0 / 0.6071 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.484, allocations: 47.89 kB / 0.6071 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.484, allocations: 0 / 0.6071 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4841, allocations: 4 kB / 0.6071 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4841, allocations: 7.875 kB / 0.6072 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4841, allocations: 0 / 0.6072 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007065/0.4848, allocations: 466 kB / 0.6076 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-05/0.4849, allocations: 120.7 kB / 0.6077 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.536e-05/0.485, allocations: 27.78 kB / 0.6077 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.4852, allocations: 19.92 kB / 0.6078 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.4853, allocations: 23.97 kB / 0.6078 GB, free: 1.699 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.4853, allocations: 7.938 kB / 0.6078 GB, free: 1.691 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003695/0.4857, allocations: 342.8 kB / 0.6081 GB, free: 1.355 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.4857, allocations: 4 kB / 0.6081 GB, free: 1.352 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002887/0.4886, allocations: 0.8538 MB / 0.609 GB, free: 0.4961 MB / 462.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.006162/0.4947, allocations: 1.894 MB / 0.6108 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000825/0.4956, allocations: 276.5 kB / 0.6111 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4956, allocations: 0 / 0.6111 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.4959, allocations: 163.9 kB / 0.6112 GB, free: 14.15 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009526/0.4969, allocations: 200.6 kB / 0.6114 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007039/0.504, allocations: 4.012 MB / 0.6153 GB, free: 9.773 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.5044, allocations: 0.8422 MB / 0.6162 GB, free: 8.902 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.5048, allocations: 149.8 kB / 0.6163 GB, free: 8.762 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.5051, allocations: 167.4 kB / 0.6165 GB, free: 8.598 MB / 478.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5051, allocations: 0 / 0.6165 GB, free: 8.598 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0836/0.5887, allocations: 39.05 MB / 0.6546 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.869/10.46, allocations: 8.562 kB / 0.6546 GB, free: 1.688 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv","/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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches