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.0008871/0.0008868, allocations: 92.86 kB / 15.7 MB, free: 472 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.0009871/0.0009874, allocations: 173.9 kB / 16.58 MB, free: 6.852 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.372/1.372, allocations: 223.3 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7032/0.7032, allocations: 115.5 MB / 407.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 8 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1543, allocations: 77.54 MB / 0.5593 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001838/0.1562, allocations: 1.177 MB / 0.5605 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1573, allocations: 0.6352 MB / 0.5611 GB, free: 7.574 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.1574, allocations: 7.938 kB / 0.5611 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.304e-05/0.1575, allocations: 7.922 kB / 0.5611 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.1575, allocations: 15.86 kB / 0.5611 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.1585, allocations: 282.1 kB / 0.5614 GB, free: 7.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.1587, allocations: 147.6 kB / 0.5615 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.1588, allocations: 4 kB / 0.5615 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.1589, allocations: 67.81 kB / 0.5616 GB, free: 7.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.159, allocations: 47.81 kB / 0.5616 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.1591, allocations: 8 kB / 0.5616 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.1594, allocations: 219.8 kB / 0.5619 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.1595, allocations: 39.88 kB / 0.5619 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.1596, allocations: 49.64 kB / 0.5619 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.1599, allocations: 203.9 kB / 0.5621 GB, free: 6.496 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1599, allocations: 0 / 0.5621 GB, free: 6.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1599, allocations: 0 / 0.5621 GB, free: 6.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1599, allocations: 0 / 0.5621 GB, free: 6.496 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.0005989/0.1605, allocations: 454.8 kB / 0.5626 GB, free: 6.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1606, allocations: 8.031 kB / 0.5626 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.1606, allocations: 11.91 kB / 0.5626 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.1609, allocations: 210.8 kB / 0.5628 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.161, allocations: 8 kB / 0.5628 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.161, allocations: 8 kB / 0.5628 GB, free: 5.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1612, allocations: 100.2 kB / 0.5629 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1612, allocations: 0 / 0.5629 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1612, allocations: 4 kB / 0.5629 GB, free: 5.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1612, allocations: 4 kB / 0.5629 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.309e-05/0.1613, allocations: 47.91 kB / 0.563 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.1616, allocations: 243.4 kB / 0.5632 GB, free: 5.262 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.1618, allocations: 115.9 kB / 0.5633 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.155e-05/0.1619, allocations: 70.61 kB / 0.5634 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1619, allocations: 0 / 0.5634 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.1622, allocations: 138.4 kB / 0.5635 GB, free: 4.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.092e-06/0.1622, allocations: 0 / 0.5635 GB, free: 4.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003965/0.1626, allocations: 222 kB / 0.5637 GB, free: 4.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.1627, allocations: 118.8 kB / 0.5638 GB, free: 4.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1628, allocations: 140.2 kB / 0.564 GB, free: 4.375 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.1628, allocations: 33.7 kB / 0.564 GB, free: 4.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.1629, allocations: 96.7 kB / 0.5641 GB, free: 4.238 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.289e-05/0.163, allocations: 59.19 kB / 0.5641 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.163, allocations: 8 kB / 0.5641 GB, free: 4.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1631, allocations: 334.8 kB / 0.5645 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.1633, allocations: 44.27 kB / 0.5645 GB, free: 3.789 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.1635, allocations: 177.3 kB / 0.5647 GB, free: 3.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.1637, allocations: 75.88 kB / 0.5647 GB, free: 3.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1637, allocations: 3.984 kB / 0.5648 GB, free: 3.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002856/0.164, allocations: 196.3 kB / 0.5649 GB, free: 3.301 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.164, allocations: 7.984 kB / 0.5649 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.164, allocations: 4 kB / 0.565 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.164, allocations: 3.953 kB / 0.565 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.1641, allocations: 19.94 kB / 0.565 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1641, allocations: 4 kB / 0.565 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.1644, allocations: 59.78 kB / 0.565 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1644, allocations: 4 kB / 0.565 GB, free: 3.199 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002058/0.1646, allocations: 140 kB / 0.5652 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.1646, allocations: 11.91 kB / 0.5652 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.1647, allocations: 16.7 kB / 0.5652 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1647, allocations: 3.953 kB / 0.5652 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1647, allocations: 4.141 kB / 0.5652 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1647, allocations: 3.984 kB / 0.5652 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.1649, allocations: 213.4 kB / 0.5654 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1649, allocations: 0 / 0.5654 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.1649, allocations: 8 kB / 0.5654 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.1649, allocations: 4 kB / 0.5654 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1649, allocations: 0 / 0.5654 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.165, allocations: 8.234 kB / 0.5654 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.165, allocations: 3.953 kB / 0.5654 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1652, allocations: 216.9 kB / 0.5656 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.1653, allocations: 85.02 kB / 0.5657 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.1653, allocations: 8 kB / 0.5657 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.1654, allocations: 7.984 kB / 0.5657 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.1654, allocations: 15.94 kB / 0.5658 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1655, allocations: 8 kB / 0.5658 GB, free: 2.359 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.645e-05/0.1655, allocations: 105.5 kB / 0.5659 GB, free: 2.258 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1655, allocations: 0 / 0.5659 GB, free: 2.258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003568/0.1659, allocations: 107.9 kB / 0.566 GB, free: 2.152 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002937/0.1662, allocations: 195 kB / 0.5662 GB, free: 1.953 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.1665, allocations: 221.3 kB / 0.5664 GB, free: 1.719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1665, allocations: 4 kB / 0.5664 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.1666, allocations: 59.91 kB / 0.5664 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.1668, allocations: 8 kB / 0.5664 GB, free: 1.648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.1673, allocations: 264.1 kB / 0.5667 GB, free: 1.359 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.1677, allocations: 0.7126 MB / 0.5674 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.186e-05/0.1678, allocations: 12.88 kB / 0.5674 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.1678, allocations: 15.38 kB / 0.5674 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.1678, allocations: 0 / 0.5674 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of Templates: time 0.006188/0.174, allocations: 2.884 MB / 0.5702 GB, free: 13.74 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)