Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 102.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.373/1.373, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.092/3.092, allocations: 0.505 GB / 0.8066 GB, free: 23.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 75.66 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3368, allocations: 180.2 MB / 1.348 GB, free: 9.898 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1945/0.5313, allocations: 164.8 MB / 1.509 GB, free: 4.5 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006032/0.5373, allocations: 4.591 MB / 1.513 GB, free: 15.89 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003359/0.5376, allocations: 15.88 kB / 1.513 GB, free: 15.88 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.5381, allocations: 119.1 kB / 1.513 GB, free: 15.76 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.000927/0.539, allocations: 342.4 kB / 1.514 GB, free: 15.43 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.000804/0.5398, allocations: 281.5 kB / 1.514 GB, free: 15.15 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0007754/0.5406, allocations: 0.5534 MB / 1.514 GB, free: 14.6 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.541, allocations: 177.2 kB / 1.515 GB, free: 14.42 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.5425, allocations: 0.6811 MB / 1.515 GB, free: 13.73 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.5428, allocations: 199.2 kB / 1.515 GB, free: 13.54 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.5428, allocations: 20 kB / 1.515 GB, free: 13.52 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.543, allocations: 87.86 kB / 1.516 GB, free: 13.43 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.5432, allocations: 83.72 kB / 1.516 GB, free: 13.35 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.5433, allocations: 119.4 kB / 1.516 GB, free: 13.23 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.5438, allocations: 294.8 kB / 1.516 GB, free: 12.95 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5438, allocations: 3.938 kB / 1.516 GB, free: 12.94 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5438, allocations: 0 / 1.516 GB, free: 12.94 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.5438, allocations: 4 kB / 1.516 GB, free: 12.94 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008858/0.5447, allocations: 0.5387 MB / 1.517 GB, free: 12.35 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.5447, allocations: 19.92 kB / 1.517 GB, free: 12.33 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.942e-05/0.5448, allocations: 46.55 kB / 1.517 GB, free: 12.28 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.5448, allocations: 39.73 kB / 1.517 GB, free: 12.24 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.5452, allocations: 287.3 kB / 1.517 GB, free: 11.92 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.5453, allocations: 16 kB / 1.517 GB, free: 11.9 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.5453, allocations: 16 kB / 1.517 GB, free: 11.89 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.5458, allocations: 258 kB / 1.517 GB, free: 11.6 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.5458, allocations: 7.938 kB / 1.517 GB, free: 11.59 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.5458, allocations: 11.98 kB / 1.517 GB, free: 11.58 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.5458, allocations: 4 kB / 1.517 GB, free: 11.57 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.5462, allocations: 147.8 kB / 1.517 GB, free: 11.43 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.5476, allocations: 1.375 MB / 1.519 GB, free: 9.965 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.548, allocations: 171.7 kB / 1.519 GB, free: 9.742 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.5481, allocations: 97.05 kB / 1.519 GB, free: 9.629 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003437/0.5485, allocations: 117 kB / 1.519 GB, free: 9.496 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.5485, allocations: 46.42 kB / 1.519 GB, free: 9.441 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.5485, allocations: 4 kB / 1.519 GB, free: 9.438 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0006233/0.5491, allocations: 205.3 kB / 1.519 GB, free: 9.23 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.5492, allocations: 188.5 kB / 1.52 GB, free: 9.004 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.5495, allocations: 287 kB / 1.52 GB, free: 8.719 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.5496, allocations: 33.7 kB / 1.52 GB, free: 8.68 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.5497, allocations: 147.9 kB / 1.52 GB, free: 8.531 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.5497, allocations: 39.69 kB / 1.52 GB, free: 8.492 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.5498, allocations: 33.72 kB / 1.52 GB, free: 8.453 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5499, allocations: 330.8 kB / 1.52 GB, free: 8.121 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.5501, allocations: 47.95 kB / 1.52 GB, free: 8.074 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.5503, allocations: 117.7 kB / 1.521 GB, free: 7.934 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.5506, allocations: 154.7 kB / 1.521 GB, free: 7.758 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5506, allocations: 4 kB / 1.521 GB, free: 7.754 MB / 1.217 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000402/0.551, allocations: 197.5 kB / 1.521 GB, free: 7.555 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.551, allocations: 4 kB / 1.521 GB, free: 7.551 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.551, allocations: 4 kB / 1.521 GB, free: 7.547 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.551, allocations: 4 kB / 1.521 GB, free: 7.543 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.5512, allocations: 31.97 kB / 1.521 GB, free: 7.512 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.5512, allocations: 7.875 kB / 1.521 GB, free: 7.504 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.5514, allocations: 35.77 kB / 1.521 GB, free: 7.469 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.5514, allocations: 12.19 kB / 1.521 GB, free: 7.457 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001308/0.5515, allocations: 141.8 kB / 1.521 GB, free: 7.309 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.5516, allocations: 27.8 kB / 1.521 GB, free: 7.281 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.552, allocations: 134.9 kB / 1.521 GB, free: 7.137 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.552, allocations: 0 / 1.521 GB, free: 7.137 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.552, allocations: 4 kB / 1.521 GB, free: 7.133 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.552, allocations: 0 / 1.521 GB, free: 7.133 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008691/0.5529, allocations: 0.7731 MB / 1.522 GB, free: 6.285 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5529, allocations: 3.984 kB / 1.522 GB, free: 6.281 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.553, allocations: 27.92 kB / 1.522 GB, free: 6.254 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.553, allocations: 0 / 1.522 GB, free: 6.254 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.553, allocations: 12.16 kB / 1.522 GB, free: 6.242 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.553, allocations: 0 / 1.522 GB, free: 6.242 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.553, allocations: 4 kB / 1.522 GB, free: 6.238 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.5536, allocations: 339.4 kB / 1.522 GB, free: 5.875 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.5537, allocations: 113 kB / 1.522 GB, free: 5.746 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.5537, allocations: 272 / 1.522 GB, free: 5.746 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.5538, allocations: 23.91 kB / 1.522 GB, free: 5.723 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.5539, allocations: 19.86 kB / 1.523 GB, free: 5.703 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.5539, allocations: 4 kB / 1.523 GB, free: 5.699 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002165/0.5541, allocations: 214 kB / 1.523 GB, free: 5.488 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5541, allocations: 0 / 1.523 GB, free: 5.488 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003469/0.5544, allocations: 55.89 kB / 1.523 GB, free: 5.434 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0009638/0.5554, allocations: 0.8882 MB / 1.524 GB, free: 4.504 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.5558, allocations: 132 kB / 1.524 GB, free: 4.375 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5558, allocations: 0 / 1.524 GB, free: 4.375 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.5559, allocations: 59.89 kB / 1.524 GB, free: 4.316 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007207/0.5566, allocations: 121.4 kB / 1.524 GB, free: 4.199 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.56, allocations: 2.613 MB / 1.526 GB, free: 1.434 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.5604, allocations: 0.7558 MB / 1.527 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.5605, allocations: 50.25 kB / 1.527 GB, free: 0.6055 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.5606, allocations: 63.42 kB / 1.527 GB, free: 0.543 MB / 1.217 GB Notification: Performance of SimCode: time 5.61e-07/0.5606, allocations: 7.938 kB / 1.527 GB, free: 0.5352 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.5956, allocations: 6.873 MB / 1.534 GB, free: 9.816 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.547, allocations: 5.969 kB / 1.534 GB, free: 9.812 MB / 1.232 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senStr.port_a.m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! Error: Could not read variable senFloSou.h_out in file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senFloSou.h_out from file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.905532547971234]