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.0007848/0.0007848, 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.000878/0.000878, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8496/0.8496, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.736/1.736, allocations: 389 MB / 0.633 GB, free: 12.68 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.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: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 7.805e-06/8.927e-06, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5532/0.5532, allocations: 142.1 MB / 1.139 GB, free: 11.43 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004349/0.5575, allocations: 4.159 MB / 1.143 GB, free: 8.641 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.5579, allocations: 9.438 kB / 1.143 GB, free: 8.637 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.5583, allocations: 131.1 kB / 1.143 GB, free: 8.551 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.000815/0.5591, allocations: 346.8 kB / 1.143 GB, free: 8.363 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007198/0.5599, allocations: 295.8 kB / 1.143 GB, free: 8.23 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0006742/0.5605, allocations: 0.5311 MB / 1.144 GB, free: 7.988 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.5608, allocations: 148.4 kB / 1.144 GB, free: 7.918 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.5623, allocations: 0.7288 MB / 1.145 GB, free: 7.59 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.5626, allocations: 165.7 kB / 1.145 GB, free: 7.543 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.5626, allocations: 16.81 kB / 1.145 GB, free: 7.543 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.5628, allocations: 89.06 kB / 1.145 GB, free: 7.52 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.5629, allocations: 90.97 kB / 1.145 GB, free: 7.48 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 9.572e-05/0.563, allocations: 78.25 kB / 1.145 GB, free: 7.453 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.5635, allocations: 309 kB / 1.145 GB, free: 7.34 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5635, allocations: 0 / 1.145 GB, free: 7.34 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5635, allocations: 0.875 kB / 1.145 GB, free: 7.34 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.5635, allocations: 0 / 1.145 GB, free: 7.34 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000783/0.5643, allocations: 468.6 kB / 1.146 GB, free: 6.961 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.5643, allocations: 10.25 kB / 1.146 GB, free: 6.961 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.61e-05/0.5644, allocations: 56.89 kB / 1.146 GB, free: 6.906 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.5644, allocations: 28.3 kB / 1.146 GB, free: 6.891 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.5648, allocations: 221 kB / 1.146 GB, free: 6.711 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.5648, allocations: 12.5 kB / 1.146 GB, free: 6.707 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.5648, allocations: 21.23 kB / 1.146 GB, free: 6.699 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.5652, allocations: 263.8 kB / 1.146 GB, free: 6.527 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5652, allocations: 0 / 1.146 GB, free: 6.527 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.5652, allocations: 7.031 kB / 1.146 GB, free: 6.523 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.5652, allocations: 4.531 kB / 1.146 GB, free: 6.523 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.5654, allocations: 150.8 kB / 1.147 GB, free: 6.477 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.5665, allocations: 1.297 MB / 1.148 GB, free: 5.32 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.5667, allocations: 180.1 kB / 1.148 GB, free: 5.148 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.5668, allocations: 90.03 kB / 1.148 GB, free: 5.086 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.567, allocations: 47.61 kB / 1.148 GB, free: 5.078 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.5671, allocations: 43.67 kB / 1.148 GB, free: 5.031 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.5671, allocations: 0 / 1.148 GB, free: 5.031 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.00043/0.5675, allocations: 207.6 kB / 1.148 GB, free: 4.941 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.5676, allocations: 184.5 kB / 1.149 GB, free: 4.723 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.5678, allocations: 294.1 kB / 1.149 GB, free: 4.559 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.5678, allocations: 31.67 kB / 1.149 GB, free: 4.523 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/0.5679, allocations: 144 kB / 1.149 GB, free: 4.398 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.568, allocations: 34.83 kB / 1.149 GB, free: 4.371 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.568, allocations: 41.53 kB / 1.149 GB, free: 4.34 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.5681, allocations: 333.1 kB / 1.149 GB, free: 4.02 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/0.5682, allocations: 45.53 kB / 1.149 GB, free: 4.008 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.5684, allocations: 220.6 kB / 1.15 GB, free: 3.793 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.5686, allocations: 159.8 kB / 1.15 GB, free: 3.688 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5686, allocations: 1.062 kB / 1.15 GB, free: 3.688 MB / 1.01 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002575/0.5688, allocations: 188.9 kB / 1.15 GB, free: 3.602 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5688, allocations: 5.438 kB / 1.15 GB, free: 3.602 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5688, allocations: 9.328 kB / 1.15 GB, free: 3.598 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.5689, allocations: 7.203 kB / 1.15 GB, free: 3.594 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.569, allocations: 37.03 kB / 1.15 GB, free: 3.586 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.569, allocations: 2.797 kB / 1.15 GB, free: 3.586 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.5691, allocations: 26.3 kB / 1.15 GB, free: 3.574 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.5691, allocations: 8.109 kB / 1.15 GB, free: 3.574 MB / 1.01 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.0001366/0.5692, allocations: 156.9 kB / 1.15 GB, free: 3.434 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/0.5693, allocations: 23.42 kB / 1.15 GB, free: 3.422 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.5696, allocations: 129.4 kB / 1.15 GB, free: 3.359 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.5696, allocations: 6.656 kB / 1.15 GB, free: 3.355 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5696, allocations: 5.062 kB / 1.15 GB, free: 3.352 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5696, allocations: 6.188 kB / 1.15 GB, free: 3.352 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.5703, allocations: 0.7256 MB / 1.151 GB, free: 2.684 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5703, allocations: 1.797 kB / 1.151 GB, free: 2.684 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.5704, allocations: 26.53 kB / 1.151 GB, free: 2.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.5704, allocations: 2.188 kB / 1.151 GB, free: 2.68 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.5704, allocations: 2.188 kB / 1.151 GB, free: 2.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.5704, allocations: 2.953 kB / 1.151 GB, free: 2.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5704, allocations: 1.125 kB / 1.151 GB, free: 2.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.5708, allocations: 347.7 kB / 1.151 GB, free: 2.438 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.5709, allocations: 35.27 kB / 1.152 GB, free: 2.418 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.5709, allocations: 3.953 kB / 1.152 GB, free: 2.418 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.571, allocations: 10.75 kB / 1.152 GB, free: 2.414 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.5711, allocations: 9.562 kB / 1.152 GB, free: 2.414 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.5711, allocations: 3.25 kB / 1.152 GB, free: 2.414 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002135/0.5713, allocations: 209.1 kB / 1.152 GB, free: 2.297 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5713, allocations: 0 / 1.152 GB, free: 2.297 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002925/0.5716, allocations: 58.73 kB / 1.152 GB, free: 2.285 MB / 1.01 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.0007066/0.5723, allocations: 0.8944 MB / 1.153 GB, free: 1.512 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.5725, allocations: 118.2 kB / 1.153 GB, free: 1.48 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5725, allocations: 0.5 kB / 1.153 GB, free: 1.48 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.5726, allocations: 61.45 kB / 1.153 GB, free: 1.461 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.5731, allocations: 118.1 kB / 1.153 GB, free: 1.434 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.5759, allocations: 2.574 MB / 1.155 GB, free: 15.62 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.5761, allocations: 143.2 kB / 1.156 GB, free: 15.55 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.5762, allocations: 50.25 kB / 1.156 GB, free: 15.54 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.652e-05/0.5763, allocations: 68.47 kB / 1.156 GB, free: 15.5 MB / 1.026 GB Notification: Performance of SimCode: time 7.91e-07/0.5763, allocations: 0 / 1.156 GB, free: 15.5 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.6016, allocations: 7.739 MB / 1.163 GB, free: 14.1 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.516/7.117, allocations: 9.984 kB / 1.163 GB, free: 14.1 MB / 1.026 GB " [Timeout remaining time 293] (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/jenkins/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: 11.116544399410486]