Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001248/0.001248, allocations: 107.3 kB / 16.45 MB, free: 6.453 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.001386/0.001386, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.412/1.412, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.101/3.101, allocations: 0.505 GB / 0.8066 GB, free: 23.1 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.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.002013/0.002013, allocations: 70.59 kB / 1.172 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3466, allocations: 180.2 MB / 1.348 GB, free: 9.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1952/0.5417, allocations: 171 MB / 1.515 GB, free: 14.33 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008732/0.5505, allocations: 6.599 MB / 1.521 GB, free: 7.707 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/0.5509, allocations: 19.81 kB / 1.521 GB, free: 7.688 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.5515, allocations: 174.7 kB / 1.521 GB, free: 7.516 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.5538, allocations: 0.8635 MB / 1.522 GB, free: 6.648 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009779/0.5548, allocations: 335.7 kB / 1.523 GB, free: 6.324 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0009992/0.5558, allocations: 0.7134 MB / 1.523 GB, free: 5.609 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004819/0.5563, allocations: 234.7 kB / 1.523 GB, free: 5.375 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.5579, allocations: 0.7162 MB / 1.524 GB, free: 4.656 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004592/0.5583, allocations: 283 kB / 1.524 GB, free: 4.379 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.5584, allocations: 20 kB / 1.524 GB, free: 4.359 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006398/0.559, allocations: 359.1 kB / 1.525 GB, free: 4.008 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.5592, allocations: 103.7 kB / 1.525 GB, free: 3.906 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.5594, allocations: 163.2 kB / 1.525 GB, free: 3.746 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0007508/0.5601, allocations: 474.2 kB / 1.526 GB, free: 3.281 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5601, allocations: 4 kB / 1.526 GB, free: 3.277 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5601, allocations: 0 / 1.526 GB, free: 3.277 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.5601, allocations: 3.984 kB / 1.526 GB, free: 3.273 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009453/0.5611, allocations: 0.619 MB / 1.526 GB, free: 2.605 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.5611, allocations: 11.98 kB / 1.526 GB, free: 2.594 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.564e-05/0.5612, allocations: 70.53 kB / 1.526 GB, free: 2.516 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.5615, allocations: 67.66 kB / 1.526 GB, free: 2.449 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.562, allocations: 317.5 kB / 1.527 GB, free: 2.102 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.5621, allocations: 28.5 kB / 1.527 GB, free: 2.074 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.5621, allocations: 24 kB / 1.527 GB, free: 2.051 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.5627, allocations: 311.7 kB / 1.527 GB, free: 1.715 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.5627, allocations: 7.938 kB / 1.527 GB, free: 1.707 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.5627, allocations: 8 kB / 1.527 GB, free: 1.699 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.5627, allocations: 12 kB / 1.527 GB, free: 1.688 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.5632, allocations: 201.5 kB / 1.527 GB, free: 1.492 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.5648, allocations: 1.534 MB / 1.529 GB, free: 15.82 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.5651, allocations: 114.5 kB / 1.529 GB, free: 15.7 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.5653, allocations: 80.81 kB / 1.529 GB, free: 15.62 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/0.5659, allocations: 307.2 kB / 1.529 GB, free: 15.26 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.5659, allocations: 42.5 kB / 1.529 GB, free: 15.21 MB / 1.232 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.5659, allocations: 0 / 1.529 GB, free: 15.21 MB / 1.232 GB Notification: Performance of matching and sorting (n=13): time 0.0007719/0.5667, allocations: 269.6 kB / 1.529 GB, free: 14.94 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.5667, allocations: 55.41 kB / 1.529 GB, free: 14.88 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.5671, allocations: 316.5 kB / 1.53 GB, free: 14.55 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.5671, allocations: 25.7 kB / 1.53 GB, free: 14.52 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.5672, allocations: 192.3 kB / 1.53 GB, free: 14.33 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.5673, allocations: 39.64 kB / 1.53 GB, free: 14.29 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.5673, allocations: 45.66 kB / 1.53 GB, free: 14.24 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5675, allocations: 330.8 kB / 1.53 GB, free: 13.91 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.5676, allocations: 59.95 kB / 1.53 GB, free: 13.85 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.5679, allocations: 118.8 kB / 1.531 GB, free: 13.72 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.5682, allocations: 180.9 kB / 1.531 GB, free: 13.52 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5682, allocations: 0 / 1.531 GB, free: 13.52 MB / 1.232 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004415/0.5686, allocations: 221.3 kB / 1.531 GB, free: 13.3 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.5687, allocations: 4 kB / 1.531 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5687, allocations: 4 kB / 1.531 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.5687, allocations: 4.156 kB / 1.531 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.5689, allocations: 39.92 kB / 1.531 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5689, allocations: 0 / 1.531 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.569, allocations: 31.77 kB / 1.531 GB, free: 13.22 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.5691, allocations: 12 kB / 1.531 GB, free: 13.21 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001488/0.5692, allocations: 145.8 kB / 1.531 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.5693, allocations: 27.81 kB / 1.531 GB, free: 13.03 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/0.5697, allocations: 212.3 kB / 1.531 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5697, allocations: 0 / 1.531 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5697, allocations: 4 kB / 1.531 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5697, allocations: 0 / 1.531 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.5708, allocations: 0.6835 MB / 1.532 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5708, allocations: 0 / 1.532 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.5709, allocations: 35.91 kB / 1.532 GB, free: 12.01 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5709, allocations: 0 / 1.532 GB, free: 12.01 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.5709, allocations: 7.938 kB / 1.532 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.5709, allocations: 4.219 kB / 1.532 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5709, allocations: 4 kB / 1.532 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.5714, allocations: 344.1 kB / 1.532 GB, free: 11.62 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.5715, allocations: 124.9 kB / 1.533 GB, free: 11.48 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.5716, allocations: 3.938 kB / 1.533 GB, free: 11.48 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.5717, allocations: 16.05 kB / 1.533 GB, free: 11.46 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.5718, allocations: 15.92 kB / 1.533 GB, free: 11.45 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.5718, allocations: 12 kB / 1.533 GB, free: 11.44 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002192/0.572, allocations: 223 kB / 1.533 GB, free: 11.22 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.572, allocations: 0 / 1.533 GB, free: 11.22 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000392/0.5724, allocations: 79.81 kB / 1.533 GB, free: 11.14 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009143/0.5733, allocations: 0.9016 MB / 1.534 GB, free: 10.19 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.5737, allocations: 147.8 kB / 1.534 GB, free: 10.04 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5737, allocations: 4 kB / 1.534 GB, free: 10.04 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.5739, allocations: 88.12 kB / 1.534 GB, free: 9.953 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008103/0.5747, allocations: 147.2 kB / 1.534 GB, free: 9.812 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.5783, allocations: 2.816 MB / 1.537 GB, free: 6.848 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.5787, allocations: 0.7756 MB / 1.538 GB, free: 6.043 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001941/0.5788, allocations: 66.92 kB / 1.538 GB, free: 5.977 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.579, allocations: 87.41 kB / 1.538 GB, free: 5.891 MB / 1.232 GB Notification: Performance of SimCode: time 6.41e-07/0.579, allocations: 4 kB / 1.538 GB, free: 5.887 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.6117, allocations: 8.126 MB / 1.546 GB, free: 13.93 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.63, allocations: 10.45 kB / 1.546 GB, free: 13.92 MB / 1.248 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_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_EnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senMasFlo.m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv. Warning: Get data of variable senMasFlo.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.095596797997132]