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.0007708/0.0007708, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007884/0.0007884, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8622/0.8622, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.727/1.727, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.514e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5533/0.5533, allocations: 147.7 MB / 1.144 GB, free: 7.656 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005251/0.5586, allocations: 5.949 MB / 1.15 GB, free: 3.664 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.5588, allocations: 24.59 kB / 1.15 GB, free: 3.648 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.5593, allocations: 177.4 kB / 1.15 GB, free: 3.531 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.5609, allocations: 0.8552 MB / 1.151 GB, free: 3.086 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.5615, allocations: 377.5 kB / 1.151 GB, free: 2.906 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0006457/0.5622, allocations: 0.6847 MB / 1.152 GB, free: 2.59 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.5625, allocations: 201 kB / 1.152 GB, free: 2.504 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.5636, allocations: 0.808 MB / 1.153 GB, free: 2.145 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.5639, allocations: 241 kB / 1.153 GB, free: 2.07 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.5639, allocations: 22.41 kB / 1.153 GB, free: 2.07 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004109/0.5643, allocations: 290.4 kB / 1.153 GB, free: 1.977 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.5645, allocations: 115.1 kB / 1.153 GB, free: 1.922 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.5646, allocations: 108.5 kB / 1.154 GB, free: 1.883 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.5651, allocations: 488.1 kB / 1.154 GB, free: 1.703 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5651, allocations: 0.7031 kB / 1.154 GB, free: 1.703 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5651, allocations: 5.062 kB / 1.154 GB, free: 1.699 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.5651, allocations: 0 / 1.154 GB, free: 1.699 MB / 1.01 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.0007174/0.5658, allocations: 0.537 MB / 1.155 GB, free: 1.273 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.5659, allocations: 10.25 kB / 1.155 GB, free: 1.273 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.5659, allocations: 68.92 kB / 1.155 GB, free: 1.215 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.5662, allocations: 63.05 kB / 1.155 GB, free: 1.191 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.5666, allocations: 254.2 kB / 1.155 GB, free: 0.9961 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.5666, allocations: 19.7 kB / 1.155 GB, free: 0.9883 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.5666, allocations: 25.78 kB / 1.155 GB, free: 0.9805 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.5671, allocations: 321.8 kB / 1.155 GB, free: 0.8047 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5671, allocations: 4 kB / 1.155 GB, free: 0.8008 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.5671, allocations: 11.69 kB / 1.155 GB, free: 0.793 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5671, allocations: 5.844 kB / 1.155 GB, free: 0.793 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.5674, allocations: 202.1 kB / 1.155 GB, free: 0.7344 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.5684, allocations: 1.201 MB / 1.157 GB, free: 15.78 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.5686, allocations: 112.3 kB / 1.157 GB, free: 15.73 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.5687, allocations: 83 kB / 1.157 GB, free: 15.7 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/0.5689, allocations: 75.62 kB / 1.157 GB, free: 15.7 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.569, allocations: 36.39 kB / 1.157 GB, free: 15.65 MB / 1.026 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.569, allocations: 0 / 1.157 GB, free: 15.65 MB / 1.026 GB Notification: Performance of matching and sorting (n=13): time 0.0004639/0.5694, allocations: 276.4 kB / 1.157 GB, free: 15.55 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.5695, allocations: 58.48 kB / 1.157 GB, free: 15.48 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.5697, allocations: 309.6 kB / 1.158 GB, free: 15.31 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.5698, allocations: 35.61 kB / 1.158 GB, free: 15.27 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.5699, allocations: 181.3 kB / 1.158 GB, free: 15.12 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.5699, allocations: 44.03 kB / 1.158 GB, free: 15.08 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.5699, allocations: 39.02 kB / 1.158 GB, free: 15.05 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.447e-05/0.57, allocations: 338.8 kB / 1.158 GB, free: 14.73 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-05/0.5701, allocations: 58.08 kB / 1.158 GB, free: 14.71 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.5703, allocations: 193 kB / 1.158 GB, free: 14.55 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.5705, allocations: 175.1 kB / 1.159 GB, free: 14.46 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5705, allocations: 0.9375 kB / 1.159 GB, free: 14.46 MB / 1.026 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002773/0.5708, allocations: 225.9 kB / 1.159 GB, free: 14.35 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.5708, allocations: 10.09 kB / 1.159 GB, free: 14.35 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5708, allocations: 1.828 kB / 1.159 GB, free: 14.35 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.5708, allocations: 2.25 kB / 1.159 GB, free: 14.35 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.5709, allocations: 32.06 kB / 1.159 GB, free: 14.35 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.5709, allocations: 1.281 kB / 1.159 GB, free: 14.35 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.724e-05/0.571, allocations: 25.03 kB / 1.159 GB, free: 14.34 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.571, allocations: 11.45 kB / 1.159 GB, free: 14.33 MB / 1.026 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.0001061/0.5711, allocations: 148.7 kB / 1.159 GB, free: 14.2 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.5712, allocations: 38.06 kB / 1.159 GB, free: 14.18 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.5715, allocations: 210.6 kB / 1.159 GB, free: 14.08 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.5715, allocations: 1.281 kB / 1.159 GB, free: 14.08 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.5715, allocations: 0 / 1.159 GB, free: 14.08 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5715, allocations: 9.75 kB / 1.159 GB, free: 14.07 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/0.5722, allocations: 0.6335 MB / 1.16 GB, free: 13.63 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5722, allocations: 1.797 kB / 1.16 GB, free: 13.63 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.102e-05/0.5722, allocations: 30.23 kB / 1.16 GB, free: 13.63 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5722, allocations: 3.656 kB / 1.16 GB, free: 13.63 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.5722, allocations: 2.625 kB / 1.16 GB, free: 13.63 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.5722, allocations: 7.422 kB / 1.16 GB, free: 13.62 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5723, allocations: 3.234 kB / 1.16 GB, free: 13.62 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.5725, allocations: 340.4 kB / 1.16 GB, free: 13.37 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.5726, allocations: 39.88 kB / 1.16 GB, free: 13.35 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.5726, allocations: 9.047 kB / 1.16 GB, free: 13.35 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.5727, allocations: 6.141 kB / 1.16 GB, free: 13.35 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.5727, allocations: 19.73 kB / 1.16 GB, free: 13.34 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.5727, allocations: 5.344 kB / 1.16 GB, free: 13.34 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.000169/0.5729, allocations: 222.1 kB / 1.161 GB, free: 13.22 MB / 1.026 GB Notification: Performance of sort global known variables: time 6e-08/0.5729, allocations: 0 / 1.161 GB, free: 13.22 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0002629/0.5732, allocations: 76.08 kB / 1.161 GB, free: 13.2 MB / 1.026 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.0008131/0.574, allocations: 0.9075 MB / 1.161 GB, free: 12.41 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0002663/0.5743, allocations: 163.2 kB / 1.162 GB, free: 12.36 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5743, allocations: 0 / 1.162 GB, free: 12.36 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.5744, allocations: 76.38 kB / 1.162 GB, free: 12.34 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.5749, allocations: 139.7 kB / 1.162 GB, free: 12.31 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.5776, allocations: 2.785 MB / 1.165 GB, free: 10.41 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.5778, allocations: 176.7 kB / 1.165 GB, free: 10.32 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.5779, allocations: 63.98 kB / 1.165 GB, free: 10.32 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.578, allocations: 91.78 kB / 1.165 GB, free: 10.25 MB / 1.026 GB Notification: Performance of SimCode: time 8.32e-07/0.578, allocations: 3.938 kB / 1.165 GB, free: 10.25 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.6016, allocations: 9.073 MB / 1.174 GB, free: 8.727 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.511/7.113, allocations: 14.25 kB / 1.174 GB, free: 8.719 MB / 1.026 GB " [Timeout remaining time 293] (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/jenkins/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: 11.147732838056982]