Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001327/0.001327, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001047/0.001047, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.061/1.061, allocations: 177.1 MB / 203.7 MB, free: 5.512 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 2.636/2.636, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.569e-05/4.806e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.004243/0.004291, allocations: 1.692 MB / 0.8914 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.157/0.1613, allocations: 140.4 MB / 1.029 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1614, allocations: 0 / 1.029 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 5.747e-05/0.1615, allocations: 7.875 kB / 1.029 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 9.728e-05/0.1616, allocations: 19.8 kB / 1.029 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009281/0.1625, allocations: 243 kB / 1.029 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.1626, allocations: 91.64 kB / 1.029 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1627, allocations: 23.97 kB / 1.029 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.1628, allocations: 51.88 kB / 1.029 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.1629, allocations: 23.97 kB / 1.029 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1629, allocations: 8 kB / 1.029 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004165/0.1634, allocations: 215.2 kB / 1.029 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.1634, allocations: 27.91 kB / 1.029 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.1634, allocations: 23.92 kB / 1.029 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.1637, allocations: 191.3 kB / 1.029 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1637, allocations: 0 / 1.029 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1637, allocations: 0 / 1.029 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1637, allocations: 0 / 1.029 GB, free: 10.15 MB / 0.9948 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.0004726/0.1642, allocations: 447.7 kB / 1.03 GB, free: 9.68 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1642, allocations: 12.03 kB / 1.03 GB, free: 9.668 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004481/0.1647, allocations: 92.72 kB / 1.03 GB, free: 9.578 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.1648, allocations: 140.4 kB / 1.03 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/0.1649, allocations: 59.97 kB / 1.03 GB, free: 9.344 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.1649, allocations: 8.125 kB / 1.03 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1651, allocations: 118.3 kB / 1.03 GB, free: 9.211 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1651, allocations: 0 / 1.03 GB, free: 9.211 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1652, allocations: 4 kB / 1.03 GB, free: 9.207 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1652, allocations: 7.984 kB / 1.03 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.04e-05/0.1652, allocations: 27.98 kB / 1.03 GB, free: 9.172 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.1656, allocations: 336.9 kB / 1.031 GB, free: 8.816 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.1658, allocations: 55.05 kB / 1.031 GB, free: 8.75 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.1658, allocations: 27.8 kB / 1.031 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1658, allocations: 0 / 1.031 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1658, allocations: 45.27 kB / 1.031 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1658, allocations: 0 / 1.031 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of matching and sorting (n=6): time 0.0002706/0.1661, allocations: 85.62 kB / 1.031 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.1661, allocations: 51.41 kB / 1.031 GB, free: 8.512 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.1662, allocations: 188.4 kB / 1.031 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1662, allocations: 25.7 kB / 1.031 GB, free: 8.281 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.1663, allocations: 154.9 kB / 1.031 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.1663, allocations: 15.86 kB / 1.031 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.1664, allocations: 31.34 kB / 1.031 GB, free: 8.07 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1665, allocations: 496.1 kB / 1.032 GB, free: 7.574 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.049e-05/0.1665, allocations: 11.98 kB / 1.032 GB, free: 7.562 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.1665, allocations: 15.94 kB / 1.032 GB, free: 7.547 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.837e-05/0.1666, allocations: 35.66 kB / 1.032 GB, free: 7.508 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1666, allocations: 0 / 1.032 GB, free: 7.508 MB / 0.9948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001024/0.1667, allocations: 65.64 kB / 1.032 GB, free: 7.438 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1667, allocations: 4 kB / 1.032 GB, free: 7.434 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1667, allocations: 0 / 1.032 GB, free: 7.434 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1667, allocations: 0 / 1.032 GB, free: 7.434 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1668, allocations: 27.98 kB / 1.032 GB, free: 7.406 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1668, allocations: 7.875 kB / 1.032 GB, free: 7.398 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.1669, allocations: 15.92 kB / 1.032 GB, free: 7.383 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1669, allocations: 4.422 kB / 1.032 GB, free: 7.379 MB / 0.9948 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 7.771e-05/0.167, allocations: 156.6 kB / 1.032 GB, free: 7.215 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.167, allocations: 11.95 kB / 1.032 GB, free: 7.203 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.167, allocations: 12.44 kB / 1.032 GB, free: 7.184 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.167, allocations: 0 / 1.032 GB, free: 7.184 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.167, allocations: 0 / 1.032 GB, free: 7.184 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.167, allocations: 11.94 kB / 1.032 GB, free: 7.172 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.1672, allocations: 121.2 kB / 1.032 GB, free: 7.027 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1672, allocations: 0 / 1.032 GB, free: 7.027 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.1672, allocations: 15.98 kB / 1.032 GB, free: 7.012 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1672, allocations: 0 / 1.032 GB, free: 7.012 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1672, allocations: 0 / 1.032 GB, free: 7.012 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1672, allocations: 7.984 kB / 1.032 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1672, allocations: 3.938 kB / 1.032 GB, free: 7 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1674, allocations: 227.8 kB / 1.032 GB, free: 6.758 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.1674, allocations: 7.953 kB / 1.032 GB, free: 6.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1674, allocations: 0 / 1.032 GB, free: 6.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.204e-05/0.1675, allocations: 11.98 kB / 1.033 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.1675, allocations: 7.984 kB / 1.033 GB, free: 6.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1675, allocations: 4 kB / 1.033 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.669e-05/0.1676, allocations: 139.2 kB / 1.033 GB, free: 6.59 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1676, allocations: 0 / 1.033 GB, free: 6.59 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001537/0.1678, allocations: 16 kB / 1.033 GB, free: 6.574 MB / 0.9948 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.0001519/0.1679, allocations: 103.2 kB / 1.033 GB, free: 6.465 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.168, allocations: 47.61 kB / 1.033 GB, free: 6.414 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.168, allocations: 0 / 1.033 GB, free: 6.414 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.1681, allocations: 31.66 kB / 1.033 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.1683, allocations: 19.98 kB / 1.033 GB, free: 6.359 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.1689, allocations: 218.6 kB / 1.033 GB, free: 6.117 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.894e-05/0.169, allocations: 59.34 kB / 1.033 GB, free: 6.039 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.595e-05/0.169, allocations: 16 kB / 1.033 GB, free: 6.023 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.672e-05/0.1691, allocations: 82.19 kB / 1.033 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of SimCode: time 1.152e-06/0.1691, allocations: 0 / 1.033 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of Templates: time 0.003863/0.173, allocations: 1.655 MB / 1.035 GB, free: 4.328 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.192838046234101]