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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001178, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4358/0.4358, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 349.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 104.8 kB / 420 MB, free: 8.516 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 59.91 kB / 0.4891 GB, free: 7.727 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3572, allocations: 70.06 MB / 0.5575 GB, free: 44.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00285/0.3601, allocations: 1.538 MB / 0.559 GB, free: 43.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3613, allocations: 0.7295 MB / 0.5597 GB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.622e-05/0.3613, allocations: 1.188 kB / 0.5597 GB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.125e-05/0.3614, allocations: 7.938 kB / 0.5597 GB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.3615, allocations: 11.91 kB / 0.5597 GB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.3622, allocations: 291.5 kB / 0.56 GB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.3624, allocations: 166.5 kB / 0.5602 GB, free: 42.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.3624, allocations: 11.98 kB / 0.5602 GB, free: 42.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.541e-05/0.3625, allocations: 59.89 kB / 0.5602 GB, free: 42.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.3625, allocations: 47.77 kB / 0.5603 GB, free: 42.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.3626, allocations: 8 kB / 0.5603 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.3628, allocations: 243.7 kB / 0.5605 GB, free: 42.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.3629, allocations: 35.89 kB / 0.5605 GB, free: 42.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.903e-05/0.363, allocations: 55.72 kB / 0.5606 GB, free: 42.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.3633, allocations: 297.5 kB / 0.5609 GB, free: 41.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3633, allocations: 0 / 0.5609 GB, free: 41.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3633, allocations: 0 / 0.5609 GB, free: 41.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.3633, allocations: 0 / 0.5609 GB, free: 41.75 MB / 410.7 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.000572/0.3639, allocations: 475 kB / 0.5613 GB, free: 41.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.364, allocations: 8.031 kB / 0.5613 GB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.364, allocations: 20.75 kB / 0.5614 GB, free: 41.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.3642, allocations: 212.1 kB / 0.5616 GB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3642, allocations: 8.312 kB / 0.5616 GB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.3643, allocations: 16.36 kB / 0.5616 GB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.3644, allocations: 96.8 kB / 0.5617 GB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3645, allocations: 192 / 0.5617 GB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3645, allocations: 3.938 kB / 0.5617 GB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.3645, allocations: 4 kB / 0.5617 GB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.771e-05/0.3646, allocations: 51.89 kB / 0.5617 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.3648, allocations: 247.3 kB / 0.562 GB, free: 40.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.3649, allocations: 107.9 kB / 0.5621 GB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.602e-05/0.365, allocations: 74.66 kB / 0.5621 GB, free: 40.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.3651, allocations: 4 kB / 0.5621 GB, free: 40.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.3653, allocations: 133.8 kB / 0.5623 GB, free: 40.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.3653, allocations: 0 / 0.5623 GB, free: 40.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003429/0.3656, allocations: 225.3 kB / 0.5625 GB, free: 39.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3657, allocations: 118.7 kB / 0.5626 GB, free: 39.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.3658, allocations: 139.7 kB / 0.5627 GB, free: 39.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.3658, allocations: 33.7 kB / 0.5628 GB, free: 39.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.3659, allocations: 96.69 kB / 0.5629 GB, free: 39.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.3659, allocations: 59.28 kB / 0.5629 GB, free: 39.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.145e-05/0.366, allocations: 61.69 kB / 0.563 GB, free: 39.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.3661, allocations: 326.8 kB / 0.5633 GB, free: 39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/0.3661, allocations: 52.25 kB / 0.5633 GB, free: 38.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.3663, allocations: 181.9 kB / 0.5635 GB, free: 38.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.3664, allocations: 142.5 kB / 0.5636 GB, free: 38.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3664, allocations: 4 kB / 0.5637 GB, free: 38.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002177/0.3667, allocations: 202.1 kB / 0.5638 GB, free: 38.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3667, allocations: 8 kB / 0.5639 GB, free: 38.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.3667, allocations: 4 kB / 0.5639 GB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3667, allocations: 0 / 0.5639 GB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.3668, allocations: 15.94 kB / 0.5639 GB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3668, allocations: 0 / 0.5639 GB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.367, allocations: 55.69 kB / 0.5639 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.3671, allocations: 12 kB / 0.5639 GB, free: 38.28 MB / 410.7 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 8.402e-05/0.3671, allocations: 132.1 kB / 0.5641 GB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.3672, allocations: 19.78 kB / 0.5641 GB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.3672, allocations: 20.64 kB / 0.5641 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3672, allocations: 144 / 0.5641 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3672, allocations: 7.984 kB / 0.5641 GB, free: 38.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3672, allocations: 0 / 0.5641 GB, free: 38.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.3673, allocations: 209.4 kB / 0.5643 GB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3673, allocations: 4 kB / 0.5643 GB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.3674, allocations: 8 kB / 0.5643 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3674, allocations: 4 kB / 0.5643 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3674, allocations: 4 kB / 0.5643 GB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3674, allocations: 4 kB / 0.5643 GB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3674, allocations: 0 / 0.5643 GB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.3678, allocations: 0.8153 MB / 0.5651 GB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.3679, allocations: 92.86 kB / 0.5652 GB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.3679, allocations: 8 kB / 0.5652 GB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.997e-05/0.3679, allocations: 7.984 kB / 0.5652 GB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.368, allocations: 11.92 kB / 0.5652 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.368, allocations: 11.94 kB / 0.5653 GB, free: 36.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.169e-05/0.3681, allocations: 105.1 kB / 0.5654 GB, free: 36.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3681, allocations: 4 kB / 0.5654 GB, free: 36.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003915/0.3685, allocations: 103.9 kB / 0.5655 GB, free: 36.59 MB / 410.7 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.0002431/0.3687, allocations: 192.3 kB / 0.5656 GB, free: 36.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.369, allocations: 224.9 kB / 0.5659 GB, free: 36.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.369, allocations: 0 / 0.5659 GB, free: 36.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.036e-05/0.3691, allocations: 55.92 kB / 0.5659 GB, free: 36.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.3692, allocations: 10.69 kB / 0.5659 GB, free: 36.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.3697, allocations: 453.1 kB / 0.5664 GB, free: 35.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.3698, allocations: 0.7087 MB / 0.567 GB, free: 34.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.751e-05/0.3699, allocations: 12.88 kB / 0.5671 GB, free: 34.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.3699, allocations: 19.44 kB / 0.5671 GB, free: 34.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3699, allocations: 0 / 0.5671 GB, free: 34.84 MB / 410.7 MB Notification: Performance of Templates: time 0.00471/0.3746, allocations: 3.014 MB / 0.57 GB, free: 31.85 MB / 410.7 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)