Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 111.2 kB / 17.03 MB, free: 5.77 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.001108/0.001108, allocations: 195 kB / 17.98 MB, free: 5.008 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.275/1.275, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7147/0.7147, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 63.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3507, allocations: 76.16 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002296/0.3531, allocations: 1.465 MB / 0.559 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009592/0.3541, allocations: 0.6844 MB / 0.5597 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.3541, allocations: 1.75 kB / 0.5597 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.663e-05/0.3542, allocations: 13.77 kB / 0.5597 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.3543, allocations: 16.38 kB / 0.5597 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008674/0.3551, allocations: 347.7 kB / 0.56 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.3554, allocations: 171.8 kB / 0.5602 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.3554, allocations: 7.359 kB / 0.5602 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.3555, allocations: 72.8 kB / 0.5603 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.483e-05/0.3556, allocations: 49.3 kB / 0.5603 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.3556, allocations: 11.56 kB / 0.5603 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.356, allocations: 256 kB / 0.5606 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.587e-05/0.3561, allocations: 43.36 kB / 0.5606 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.592e-05/0.3561, allocations: 57.16 kB / 0.5607 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.3565, allocations: 300.8 kB / 0.561 GB, free: 34.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3566, allocations: 0.75 kB / 0.561 GB, free: 34.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3566, allocations: 1.094 kB / 0.561 GB, free: 34.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.3566, allocations: 0 / 0.561 GB, free: 34.61 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.000562/0.3571, allocations: 479.2 kB / 0.5614 GB, free: 34.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3572, allocations: 9.031 kB / 0.5614 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.3573, allocations: 17.84 kB / 0.5614 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.3575, allocations: 210.8 kB / 0.5616 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3575, allocations: 9.25 kB / 0.5617 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.3575, allocations: 9.516 kB / 0.5617 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.3577, allocations: 104.7 kB / 0.5618 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3577, allocations: 5.469 kB / 0.5618 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3577, allocations: 5.547 kB / 0.5618 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3577, allocations: 1.281 kB / 0.5618 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.674e-05/0.3578, allocations: 49.7 kB / 0.5618 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.3581, allocations: 244.7 kB / 0.5621 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3582, allocations: 109.6 kB / 0.5622 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.274e-05/0.3583, allocations: 72.44 kB / 0.5622 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.3583, allocations: 3.938 kB / 0.5622 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.3586, allocations: 142.8 kB / 0.5624 GB, free: 33.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/0.3586, allocations: 0.5625 kB / 0.5624 GB, free: 33.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.000413/0.359, allocations: 218.6 kB / 0.5626 GB, free: 33.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.359, allocations: 117.5 kB / 0.5627 GB, free: 33.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3592, allocations: 143.8 kB / 0.5628 GB, free: 33.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.3592, allocations: 35.91 kB / 0.5629 GB, free: 33.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.3593, allocations: 99.61 kB / 0.563 GB, free: 32.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.3593, allocations: 56.02 kB / 0.563 GB, free: 32.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/0.3594, allocations: 60.05 kB / 0.5631 GB, free: 32.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.3595, allocations: 330.3 kB / 0.5634 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.225e-05/0.3596, allocations: 51.34 kB / 0.5634 GB, free: 32.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.3598, allocations: 179.4 kB / 0.5636 GB, free: 32.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.3599, allocations: 137.4 kB / 0.5637 GB, free: 32.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.36, allocations: 1.125 kB / 0.5637 GB, free: 32.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000276/0.3602, allocations: 202.7 kB / 0.5639 GB, free: 32.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3603, allocations: 6.828 kB / 0.5639 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.3603, allocations: 4.766 kB / 0.5639 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3603, allocations: 2.25 kB / 0.5639 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.3604, allocations: 17.91 kB / 0.564 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.3604, allocations: 1.859 kB / 0.564 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.3606, allocations: 46.86 kB / 0.564 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.3607, allocations: 5.781 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 9.702e-05/0.3608, allocations: 149.7 kB / 0.5642 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.3608, allocations: 18.03 kB / 0.5642 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.3608, allocations: 14.62 kB / 0.5642 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3608, allocations: 2.125 kB / 0.5642 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3608, allocations: 2.156 kB / 0.5642 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3608, allocations: 1.719 kB / 0.5642 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.361, allocations: 205.2 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.361, allocations: 0.9375 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.361, allocations: 16.34 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3611, allocations: 1.219 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3611, allocations: 3.031 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3611, allocations: 5.609 kB / 0.5644 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3611, allocations: 1.031 kB / 0.5644 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.3613, allocations: 213.2 kB / 0.5646 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.3614, allocations: 90.17 kB / 0.5647 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3614, allocations: 8.297 kB / 0.5647 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.512e-05/0.3615, allocations: 9.141 kB / 0.5647 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.3615, allocations: 20.69 kB / 0.5647 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.3616, allocations: 5.719 kB / 0.5647 GB, free: 31.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.459e-05/0.3616, allocations: 110.7 kB / 0.5648 GB, free: 31.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3616, allocations: 0.625 kB / 0.5648 GB, free: 31.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.362, allocations: 107 kB / 0.565 GB, free: 31.45 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.0002686/0.3623, allocations: 190 kB / 0.5651 GB, free: 31.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.3626, allocations: 214.5 kB / 0.5653 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3626, allocations: 0.7188 kB / 0.5653 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.3627, allocations: 59.69 kB / 0.5654 GB, free: 31.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.3629, allocations: 8.938 kB / 0.5654 GB, free: 31.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.3633, allocations: 248.4 kB / 0.5656 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.3634, allocations: 0.7079 MB / 0.5663 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.76e-05/0.3635, allocations: 11.55 kB / 0.5663 GB, free: 30.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.3635, allocations: 15.75 kB / 0.5664 GB, free: 30.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3635, allocations: 3.938 kB / 0.5664 GB, free: 30.3 MB / 446.1 MB Notification: Performance of Templates: time 0.007296/0.3708, allocations: 3.068 MB / 0.5694 GB, free: 30.11 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)