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.001706/0.001706, allocations: 100.1 kB / 15.88 MB, free: 12 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.002104/0.002104, allocations: 208.4 kB / 16.79 MB, free: 6.84 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.484/1.484, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7189/0.7189, allocations: 122.9 MB / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 60 kB / 0.4904 GB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1604, allocations: 77.94 MB / 0.5665 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002523/0.1629, allocations: 1.529 MB / 0.568 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1641, allocations: 0.7282 MB / 0.5687 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.1641, allocations: 0 / 0.5687 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.494e-05/0.1642, allocations: 11.92 kB / 0.5687 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.71e-05/0.1643, allocations: 3.938 kB / 0.5687 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007571/0.1651, allocations: 294.9 kB / 0.569 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1653, allocations: 155.7 kB / 0.5692 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.1653, allocations: 7.984 kB / 0.5692 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.941e-05/0.1654, allocations: 71.77 kB / 0.5692 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.1655, allocations: 51.75 kB / 0.5693 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.1655, allocations: 8 kB / 0.5693 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.1658, allocations: 235.8 kB / 0.5695 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.371e-05/0.1659, allocations: 35.89 kB / 0.5696 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.146e-05/0.166, allocations: 67.66 kB / 0.5696 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.1663, allocations: 283.6 kB / 0.5699 GB, free: 13.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1664, allocations: 0 / 0.5699 GB, free: 13.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1664, allocations: 0 / 0.5699 GB, free: 13.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1664, allocations: 0 / 0.5699 GB, free: 13.29 MB / 446.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.0006282/0.167, allocations: 486.9 kB / 0.5704 GB, free: 12.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1671, allocations: 8.031 kB / 0.5704 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.1671, allocations: 12.84 kB / 0.5704 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.1674, allocations: 218.1 kB / 0.5706 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1674, allocations: 8.375 kB / 0.5706 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.1674, allocations: 8.375 kB / 0.5706 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.1676, allocations: 96.73 kB / 0.5707 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1676, allocations: 8.188 kB / 0.5707 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1677, allocations: 3.938 kB / 0.5707 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1677, allocations: 0 / 0.5707 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1678, allocations: 51.91 kB / 0.5707 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.1681, allocations: 247.4 kB / 0.571 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.1682, allocations: 107.8 kB / 0.5711 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1683, allocations: 70.7 kB / 0.5712 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.1683, allocations: 4 kB / 0.5712 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/0.1686, allocations: 137.8 kB / 0.5713 GB, free: 11.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.1687, allocations: 0 / 0.5713 GB, free: 11.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004277/0.1691, allocations: 221.3 kB / 0.5715 GB, free: 11.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.1692, allocations: 126.8 kB / 0.5716 GB, free: 11.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1693, allocations: 136.5 kB / 0.5718 GB, free: 11.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.1693, allocations: 45.69 kB / 0.5718 GB, free: 11.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.1694, allocations: 92.7 kB / 0.5719 GB, free: 10.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.1695, allocations: 51.3 kB / 0.5719 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/0.1696, allocations: 65.69 kB / 0.572 GB, free: 10.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1697, allocations: 326.8 kB / 0.5723 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.687e-05/0.1698, allocations: 52.2 kB / 0.5724 GB, free: 10.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.17, allocations: 177.3 kB / 0.5725 GB, free: 10.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.1702, allocations: 138.5 kB / 0.5727 GB, free: 10.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1702, allocations: 4 kB / 0.5727 GB, free: 10.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002934/0.1705, allocations: 201.3 kB / 0.5729 GB, free: 9.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1706, allocations: 4 kB / 0.5729 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.1706, allocations: 4 kB / 0.5729 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1706, allocations: 4 kB / 0.5729 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/0.1707, allocations: 11.98 kB / 0.5729 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1707, allocations: 4 kB / 0.5729 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.171, allocations: 51.64 kB / 0.5729 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.171, allocations: 8 kB / 0.5729 GB, free: 9.824 MB / 446.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.0001346/0.1711, allocations: 144 kB / 0.5731 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.1711, allocations: 15.84 kB / 0.5731 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.1712, allocations: 12.72 kB / 0.5731 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1712, allocations: 4 kB / 0.5731 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1712, allocations: 0 / 0.5731 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1712, allocations: 0 / 0.5731 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.1714, allocations: 213.4 kB / 0.5733 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1714, allocations: 4 kB / 0.5733 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.1715, allocations: 15.94 kB / 0.5733 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1715, allocations: 3.984 kB / 0.5733 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1715, allocations: 4 kB / 0.5733 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1715, allocations: 0 / 0.5733 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1715, allocations: 0 / 0.5733 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1718, allocations: 206.6 kB / 0.5735 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.1718, allocations: 92.91 kB / 0.5736 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.1719, allocations: 16 kB / 0.5736 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.013e-05/0.1719, allocations: 3.938 kB / 0.5736 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.172, allocations: 19.92 kB / 0.5737 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-06/0.172, allocations: 4 kB / 0.5737 GB, free: 8.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.423e-05/0.1721, allocations: 107.2 kB / 0.5738 GB, free: 8.875 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1721, allocations: 0 / 0.5738 GB, free: 8.875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.1724, allocations: 103.9 kB / 0.5739 GB, free: 8.773 MB / 446.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.0002973/0.1727, allocations: 199.3 kB / 0.5741 GB, free: 8.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.1731, allocations: 222.3 kB / 0.5743 GB, free: 8.336 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1731, allocations: 0 / 0.5743 GB, free: 8.336 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.1732, allocations: 59.91 kB / 0.5743 GB, free: 8.277 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.1734, allocations: 8 kB / 0.5743 GB, free: 8.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.1738, allocations: 282.5 kB / 0.5746 GB, free: 7.965 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1741, allocations: 0.7048 MB / 0.5753 GB, free: 7.234 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.054e-05/0.1741, allocations: 12.88 kB / 0.5753 GB, free: 7.223 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.1741, allocations: 19.44 kB / 0.5753 GB, free: 7.203 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1742, allocations: 0 / 0.5753 GB, free: 7.203 MB / 446.1 MB Notification: Performance of Templates: time 0.00591/0.1801, allocations: 2.953 MB / 0.5782 GB, free: 4.277 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)