Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.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.001668/0.001668, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002077/0.002077, allocations: 214.8 kB / 22.25 MB, free: 5.078 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.381/3.381, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",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.002228/0.002228, allocations: 67.84 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3752, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003483/0.3787, allocations: 1.679 MB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1813/0.56, allocations: 150.6 MB / 1.475 GB, free: 9.051 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.086e-05/0.5601, allocations: 0 / 1.475 GB, free: 9.051 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 5.055e-05/0.5601, allocations: 7.875 kB / 1.475 GB, free: 9.043 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 9.415e-05/0.5602, allocations: 19.84 kB / 1.475 GB, free: 9.023 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009807/0.5612, allocations: 263.1 kB / 1.475 GB, free: 8.766 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.5614, allocations: 87.7 kB / 1.475 GB, free: 8.68 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.5615, allocations: 19.98 kB / 1.475 GB, free: 8.66 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-05/0.5616, allocations: 35.92 kB / 1.475 GB, free: 8.625 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.5617, allocations: 51.75 kB / 1.475 GB, free: 8.574 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.5617, allocations: 8 kB / 1.475 GB, free: 8.566 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005974/0.5623, allocations: 263.3 kB / 1.475 GB, free: 8.309 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.5623, allocations: 23.92 kB / 1.475 GB, free: 8.285 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.5624, allocations: 35.8 kB / 1.475 GB, free: 8.25 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.5628, allocations: 211.3 kB / 1.476 GB, free: 8.043 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5628, allocations: 7.984 kB / 1.476 GB, free: 8.035 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5628, allocations: 0 / 1.476 GB, free: 8.035 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.5628, allocations: 0 / 1.476 GB, free: 8.035 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006767/0.5635, allocations: 345.8 kB / 1.476 GB, free: 7.668 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5635, allocations: 12.03 kB / 1.476 GB, free: 7.656 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.281e-05/0.5636, allocations: 38.75 kB / 1.476 GB, free: 7.609 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.5648, allocations: 156.6 kB / 1.476 GB, free: 7.457 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.565, allocations: 126.1 kB / 1.476 GB, free: 7.309 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.5651, allocations: 63.39 kB / 1.476 GB, free: 7.234 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.5651, allocations: 8 kB / 1.476 GB, free: 7.227 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005932/0.5657, allocations: 161.5 kB / 1.477 GB, free: 7.062 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5657, allocations: 0 / 1.477 GB, free: 7.062 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.5658, allocations: 0 / 1.477 GB, free: 7.062 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.5658, allocations: 7.938 kB / 1.477 GB, free: 7.055 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008198/0.5666, allocations: 195.8 kB / 1.477 GB, free: 6.863 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009937/0.5676, allocations: 397.5 kB / 1.477 GB, free: 6.43 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.5681, allocations: 130.5 kB / 1.477 GB, free: 6.293 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.5685, allocations: 92.84 kB / 1.477 GB, free: 6.199 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.5685, allocations: 0 / 1.477 GB, free: 6.199 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.5686, allocations: 42.44 kB / 1.477 GB, free: 6.148 MB / 1.17 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.5686, allocations: 0 / 1.477 GB, free: 6.148 MB / 1.17 GB Notification: Performance of matching and sorting (n=6): time 0.001441/0.57, allocations: 313.4 kB / 1.478 GB, free: 5.836 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.5701, allocations: 55.41 kB / 1.478 GB, free: 5.77 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.5702, allocations: 139.2 kB / 1.478 GB, free: 5.625 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.5702, allocations: 25.7 kB / 1.478 GB, free: 5.594 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.5703, allocations: 108.1 kB / 1.478 GB, free: 5.484 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.5704, allocations: 15.89 kB / 1.478 GB, free: 5.469 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.5704, allocations: 21.7 kB / 1.478 GB, free: 5.441 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5706, allocations: 322.8 kB / 1.478 GB, free: 5.117 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.571, allocations: 87.92 kB / 1.478 GB, free: 5.031 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.5714, allocations: 91.84 kB / 1.478 GB, free: 4.941 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000725/0.5721, allocations: 168.7 kB / 1.479 GB, free: 4.773 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5721, allocations: 0 / 1.479 GB, free: 4.773 MB / 1.17 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000844/0.5729, allocations: 221.4 kB / 1.479 GB, free: 4.551 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.573, allocations: 4 kB / 1.479 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.573, allocations: 0 / 1.479 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.573, allocations: 4 kB / 1.479 GB, free: 4.543 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.5733, allocations: 39.95 kB / 1.479 GB, free: 4.504 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.5733, allocations: 4 kB / 1.479 GB, free: 4.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.5735, allocations: 35.84 kB / 1.479 GB, free: 4.465 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.5736, allocations: 11.98 kB / 1.479 GB, free: 4.453 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001243/0.5737, allocations: 117.8 kB / 1.479 GB, free: 4.328 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.5737, allocations: 11.89 kB / 1.479 GB, free: 4.316 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.5738, allocations: 8.719 kB / 1.479 GB, free: 4.301 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5738, allocations: 3.938 kB / 1.479 GB, free: 4.297 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5738, allocations: 7.984 kB / 1.479 GB, free: 4.289 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.5738, allocations: 0 / 1.479 GB, free: 4.289 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.574, allocations: 184.6 kB / 1.479 GB, free: 4.066 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.574, allocations: 4 kB / 1.479 GB, free: 4.062 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.5743, allocations: 44.33 kB / 1.479 GB, free: 4.02 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.5743, allocations: 3.984 kB / 1.479 GB, free: 4.016 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.5744, allocations: 4 kB / 1.479 GB, free: 4.012 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.5744, allocations: 7.984 kB / 1.479 GB, free: 4.004 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5744, allocations: 0 / 1.479 GB, free: 4.004 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009248/0.5753, allocations: 319.2 kB / 1.48 GB, free: 3.676 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.5753, allocations: 15.88 kB / 1.48 GB, free: 3.66 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.5754, allocations: 0 / 1.48 GB, free: 3.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.5756, allocations: 31.97 kB / 1.48 GB, free: 3.629 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.5757, allocations: 3.984 kB / 1.48 GB, free: 3.625 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.5757, allocations: 11.94 kB / 1.48 GB, free: 3.613 MB / 1.17 GB Notification: Performance of sorting global known variables: time 9.269e-05/0.5758, allocations: 112.8 kB / 1.48 GB, free: 3.504 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5758, allocations: 0 / 1.48 GB, free: 3.504 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002607/0.5761, allocations: 16 kB / 1.48 GB, free: 3.488 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001297/0.5773, allocations: 0.8568 MB / 1.481 GB, free: 2.605 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0008363/0.5782, allocations: 191.8 kB / 1.481 GB, free: 2.418 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.5782, allocations: 4 kB / 1.481 GB, free: 2.414 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.5786, allocations: 95.91 kB / 1.481 GB, free: 2.32 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.579, allocations: 8 kB / 1.481 GB, free: 2.312 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/0.5834, allocations: 1.971 MB / 1.483 GB, free: 272 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.5837, allocations: 0.6941 MB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.5839, allocations: 20 kB / 1.484 GB, free: 15.53 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.584, allocations: 27.42 kB / 1.484 GB, free: 15.5 MB / 1.186 GB Notification: Performance of SimCode: time 1.463e-06/0.584, allocations: 0 / 1.484 GB, free: 15.5 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/0.6209, allocations: 3.04 MB / 1.487 GB, free: 12.61 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.63, allocations: 3.984 kB / 1.487 GB, free: 12.61 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable onOff.y in file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv. Warning: Get data of variable onOff.y from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.69176598500053]