Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 97.64 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 179.7 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6719/0.6719, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 4 kB / 495.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 77.54 MB / 0.56 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001916/0.1575, allocations: 1.196 MB / 0.5611 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1588, allocations: 0.7166 MB / 0.5618 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.1589, allocations: 3.938 kB / 0.5618 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.736e-05/0.159, allocations: 0 / 0.5618 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.737e-05/0.1591, allocations: 15.86 kB / 0.5618 GB, free: 7.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009075/0.16, allocations: 281.1 kB / 0.5621 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.1602, allocations: 163.6 kB / 0.5623 GB, free: 6.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.1603, allocations: 4 kB / 0.5623 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.632e-05/0.1603, allocations: 71.77 kB / 0.5623 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.1604, allocations: 51.75 kB / 0.5624 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.1605, allocations: 8 kB / 0.5624 GB, free: 6.539 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.1608, allocations: 243.8 kB / 0.5626 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.1609, allocations: 27.91 kB / 0.5627 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.394e-05/0.161, allocations: 85.45 kB / 0.5627 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.1613, allocations: 291.5 kB / 0.563 GB, free: 5.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1614, allocations: 0 / 0.563 GB, free: 5.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1614, allocations: 0 / 0.563 GB, free: 5.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1614, allocations: 4 kB / 0.563 GB, free: 5.895 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005778/0.162, allocations: 451.1 kB / 0.5634 GB, free: 5.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.162, allocations: 8.031 kB / 0.5635 GB, free: 5.395 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.1621, allocations: 12.84 kB / 0.5635 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.1623, allocations: 219.9 kB / 0.5637 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1623, allocations: 8.375 kB / 0.5637 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.1623, allocations: 12.38 kB / 0.5637 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1625, allocations: 96.8 kB / 0.5638 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1625, allocations: 4.125 kB / 0.5638 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1625, allocations: 3.938 kB / 0.5638 GB, free: 4.992 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1626, allocations: 0 / 0.5638 GB, free: 4.992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.063e-05/0.1626, allocations: 47.97 kB / 0.5638 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.1629, allocations: 247.4 kB / 0.5641 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1631, allocations: 107.8 kB / 0.5642 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.1632, allocations: 74.64 kB / 0.5643 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.1632, allocations: 0 / 0.5643 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.1634, allocations: 141.8 kB / 0.5644 GB, free: 4.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/0.1634, allocations: 0 / 0.5644 GB, free: 4.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004046/0.1638, allocations: 217.3 kB / 0.5646 GB, free: 4.055 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.1639, allocations: 122.8 kB / 0.5647 GB, free: 3.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.164, allocations: 136 kB / 0.5648 GB, free: 3.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.1641, allocations: 45.69 kB / 0.5649 GB, free: 3.719 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.1642, allocations: 92.7 kB / 0.565 GB, free: 3.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.1642, allocations: 51.3 kB / 0.565 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.1643, allocations: 33.7 kB / 0.5651 GB, free: 3.535 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1644, allocations: 330.8 kB / 0.5654 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.664e-05/0.1645, allocations: 48.27 kB / 0.5654 GB, free: 3.152 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.1647, allocations: 180.5 kB / 0.5656 GB, free: 2.934 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.165, allocations: 133.1 kB / 0.5657 GB, free: 2.797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.165, allocations: 0 / 0.5657 GB, free: 2.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003084/0.1653, allocations: 202.4 kB / 0.5659 GB, free: 2.594 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1653, allocations: 4 kB / 0.5659 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.1653, allocations: 8 kB / 0.5659 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1654, allocations: 4 kB / 0.5659 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.1655, allocations: 15.92 kB / 0.5659 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1655, allocations: 4 kB / 0.5659 GB, free: 2.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.1657, allocations: 55.7 kB / 0.566 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.1658, allocations: 8 kB / 0.566 GB, free: 2.496 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001315/0.1659, allocations: 148.1 kB / 0.5661 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.1659, allocations: 11.84 kB / 0.5662 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.166, allocations: 12.72 kB / 0.5662 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.166, allocations: 4 kB / 0.5662 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.166, allocations: 0 / 0.5662 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.166, allocations: 3.984 kB / 0.5662 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1662, allocations: 217.3 kB / 0.5664 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1662, allocations: 4 kB / 0.5664 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.1662, allocations: 15.98 kB / 0.5664 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1662, allocations: 4 kB / 0.5664 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1663, allocations: 4 kB / 0.5664 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1663, allocations: 0 / 0.5664 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1663, allocations: 3.938 kB / 0.5664 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.1666, allocations: 210.6 kB / 0.5666 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.1666, allocations: 88.92 kB / 0.5667 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1666, allocations: 8 kB / 0.5667 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.1667, allocations: 11.94 kB / 0.5667 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.1668, allocations: 11.98 kB / 0.5667 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1668, allocations: 4 kB / 0.5667 GB, free: 1.648 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.534e-05/0.1669, allocations: 113.6 kB / 0.5668 GB, free: 1.539 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1669, allocations: 0 / 0.5668 GB, free: 1.539 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.1672, allocations: 103.9 kB / 0.5669 GB, free: 1.438 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003135/0.1675, allocations: 199.1 kB / 0.5671 GB, free: 1.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.1679, allocations: 222.2 kB / 0.5673 GB, free: 1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1679, allocations: 0 / 0.5673 GB, free: 1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.581e-05/0.168, allocations: 55.92 kB / 0.5674 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.1682, allocations: 8.984 kB / 0.5674 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.1686, allocations: 279.9 kB / 0.5677 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.1689, allocations: 0.7089 MB / 0.5684 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.561e-05/0.169, allocations: 12.88 kB / 0.5684 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.169, allocations: 23.38 kB / 0.5684 GB, free: 15.86 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.169, allocations: 0 / 0.5684 GB, free: 15.86 MB / 446.1 MB Notification: Performance of Templates: time 0.005912/0.175, allocations: 2.924 MB / 0.5713 GB, free: 12.97 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)