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.001121/0.001121, allocations: 112.2 kB / 17.04 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 196 kB / 17.98 MB, free: 5.16 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.364/1.364, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7299/0.7299, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3637, allocations: 76.15 MB / 0.5576 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002665/0.3665, allocations: 1.466 MB / 0.559 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3675, allocations: 0.6939 MB / 0.5597 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.3676, allocations: 0 / 0.5597 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.952e-05/0.3676, allocations: 9.109 kB / 0.5597 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.263e-05/0.3677, allocations: 11.61 kB / 0.5597 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009477/0.3687, allocations: 349.3 kB / 0.56 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.369, allocations: 170 kB / 0.5602 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.369, allocations: 6.219 kB / 0.5602 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.373e-05/0.3691, allocations: 69.95 kB / 0.5603 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.776e-05/0.3692, allocations: 54.41 kB / 0.5603 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.3692, allocations: 11.19 kB / 0.5603 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.3697, allocations: 263.3 kB / 0.5606 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.3698, allocations: 35.47 kB / 0.5606 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.265e-05/0.3699, allocations: 65.83 kB / 0.5607 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.3703, allocations: 300 kB / 0.561 GB, free: 34.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3703, allocations: 0.5625 kB / 0.561 GB, free: 34.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3703, allocations: 0 / 0.561 GB, free: 34.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3703, allocations: 2.031 kB / 0.561 GB, free: 34.6 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.0006121/0.371, allocations: 474.9 kB / 0.5614 GB, free: 34.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.371, allocations: 9.219 kB / 0.5614 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.3711, allocations: 13.23 kB / 0.5614 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.3713, allocations: 209 kB / 0.5616 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3713, allocations: 10.08 kB / 0.5617 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.3713, allocations: 8.25 kB / 0.5617 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.3715, allocations: 102.4 kB / 0.5618 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3715, allocations: 1.281 kB / 0.5618 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3716, allocations: 9.594 kB / 0.5618 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.3716, allocations: 2.219 kB / 0.5618 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.738e-05/0.3717, allocations: 48.88 kB / 0.5618 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.3719, allocations: 251.1 kB / 0.5621 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3721, allocations: 110.6 kB / 0.5622 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.3722, allocations: 73.75 kB / 0.5622 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.3722, allocations: 6.859 kB / 0.5622 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.3724, allocations: 139.2 kB / 0.5624 GB, free: 33.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.894e-06/0.3724, allocations: 1.75 kB / 0.5624 GB, free: 33.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004429/0.3729, allocations: 221.9 kB / 0.5626 GB, free: 33.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.373, allocations: 117.2 kB / 0.5627 GB, free: 33.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3731, allocations: 139.8 kB / 0.5628 GB, free: 33.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.3731, allocations: 40.31 kB / 0.5629 GB, free: 33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.3732, allocations: 95.95 kB / 0.563 GB, free: 32.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.3732, allocations: 58.3 kB / 0.563 GB, free: 32.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.3733, allocations: 63.59 kB / 0.5631 GB, free: 32.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.36e-05/0.3734, allocations: 324.3 kB / 0.5634 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/0.3735, allocations: 51.92 kB / 0.5634 GB, free: 32.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.3737, allocations: 176.7 kB / 0.5636 GB, free: 32.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.3739, allocations: 132.5 kB / 0.5637 GB, free: 32.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3739, allocations: 4.75 kB / 0.5637 GB, free: 32.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003044/0.3742, allocations: 203.8 kB / 0.5639 GB, free: 32.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3743, allocations: 6.812 kB / 0.5639 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.3743, allocations: 3.906 kB / 0.5639 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3743, allocations: 6.125 kB / 0.5639 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.3744, allocations: 15.75 kB / 0.564 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3744, allocations: 3.062 kB / 0.564 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.3747, allocations: 45.95 kB / 0.564 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.3747, allocations: 6.594 kB / 0.564 GB, free: 32.18 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.000115/0.3748, allocations: 141.8 kB / 0.5641 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.3748, allocations: 17.28 kB / 0.5642 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.3749, allocations: 21.25 kB / 0.5642 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3749, allocations: 3.438 kB / 0.5642 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3749, allocations: 1.438 kB / 0.5642 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3749, allocations: 2.516 kB / 0.5642 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.3751, allocations: 203.8 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3751, allocations: 3.5 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.3751, allocations: 9.203 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3752, allocations: 2.281 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3752, allocations: 3.078 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3752, allocations: 7 kB / 0.5644 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3752, allocations: 1.344 kB / 0.5644 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.3755, allocations: 212.1 kB / 0.5646 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.3755, allocations: 90.83 kB / 0.5647 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.3756, allocations: 7.375 kB / 0.5647 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.3756, allocations: 10.28 kB / 0.5647 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.3757, allocations: 11.02 kB / 0.5647 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.3757, allocations: 6.188 kB / 0.5647 GB, free: 31.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.89e-05/0.3758, allocations: 109.8 kB / 0.5648 GB, free: 31.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3758, allocations: 0 / 0.5648 GB, free: 31.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004308/0.3762, allocations: 106.2 kB / 0.5649 GB, free: 31.46 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.0002808/0.3765, allocations: 202.8 kB / 0.5651 GB, free: 31.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003259/0.3768, allocations: 218.1 kB / 0.5653 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3768, allocations: 1.062 kB / 0.5653 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.37e-05/0.3769, allocations: 58.67 kB / 0.5654 GB, free: 31.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.3771, allocations: 10.22 kB / 0.5654 GB, free: 31.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.3776, allocations: 245.1 kB / 0.5656 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.3777, allocations: 0.7087 MB / 0.5663 GB, free: 30.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.079e-05/0.3778, allocations: 11.02 kB / 0.5663 GB, free: 30.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.3778, allocations: 19.88 kB / 0.5664 GB, free: 30.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3778, allocations: 1.625 kB / 0.5664 GB, free: 30.3 MB / 446.1 MB Notification: Performance of Templates: time 0.007067/0.3849, allocations: 3.076 MB / 0.5694 GB, free: 30.09 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)