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.0009416/0.0009417, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5129/0.5129, allocations: 90.92 MB / 99.35 MB, free: 2.184 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 101.2 kB / 416 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.352e-05/1.355e-05, allocations: 0 / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1779, allocations: 72.32 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.552/0.73, allocations: 101.2 MB / 0.6524 GB, free: 9.004 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.7303, allocations: 72.83 kB / 0.6525 GB, free: 8.965 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01453/0.7449, allocations: 5.01 MB / 0.6574 GB, free: 4.676 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.7449, allocations: 0 / 0.6574 GB, free: 4.676 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.7449, allocations: 0 / 0.6574 GB, free: 4.676 MB / 458.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.0005852/0.7455, allocations: 455.8 kB / 0.6578 GB, free: 4.199 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.7456, allocations: 12.02 kB / 0.6578 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.7457, allocations: 19.86 kB / 0.6578 GB, free: 4.168 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.746, allocations: 213.9 kB / 0.658 GB, free: 3.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.746, allocations: 7.938 kB / 0.658 GB, free: 3.922 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.7461, allocations: 8 kB / 0.658 GB, free: 3.914 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001412/0.7462, allocations: 44.16 kB / 0.6581 GB, free: 3.883 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.7464, allocations: 93.55 kB / 0.6582 GB, free: 3.789 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.7464, allocations: 0 / 0.6582 GB, free: 3.789 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.7464, allocations: 4 kB / 0.6582 GB, free: 3.785 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.7464, allocations: 11.94 kB / 0.6582 GB, free: 3.773 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.7467, allocations: 221.5 kB / 0.6584 GB, free: 3.539 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.7468, allocations: 101.1 kB / 0.6585 GB, free: 3.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.747, allocations: 73.67 kB / 0.6586 GB, free: 3.367 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.747, allocations: 4 kB / 0.6586 GB, free: 3.363 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.7472, allocations: 134.3 kB / 0.6587 GB, free: 3.227 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.7472, allocations: 0 / 0.6587 GB, free: 3.227 MB / 458.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004192/0.7476, allocations: 179.4 kB / 0.6589 GB, free: 3.074 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.7477, allocations: 118.7 kB / 0.659 GB, free: 2.938 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.7478, allocations: 124.7 kB / 0.6591 GB, free: 2.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.7479, allocations: 29.7 kB / 0.6591 GB, free: 2.785 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.7479, allocations: 94.58 kB / 0.6592 GB, free: 2.699 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.748, allocations: 62.05 kB / 0.6593 GB, free: 2.648 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.748, allocations: 0 / 0.6593 GB, free: 2.648 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7482, allocations: 330.2 kB / 0.6596 GB, free: 2.324 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.7483, allocations: 52.88 kB / 0.6596 GB, free: 2.281 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.7485, allocations: 181.9 kB / 0.6598 GB, free: 2.082 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.7486, allocations: 85.17 kB / 0.6599 GB, free: 2.016 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7487, allocations: 0 / 0.6599 GB, free: 2.016 MB / 458.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003088/0.749, allocations: 187.8 kB / 0.6601 GB, free: 1.859 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.749, allocations: 9.406 kB / 0.6601 GB, free: 1.852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.749, allocations: 7.984 kB / 0.6601 GB, free: 1.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.7491, allocations: 0 / 0.6601 GB, free: 1.844 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.7491, allocations: 15.94 kB / 0.6601 GB, free: 1.828 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.7492, allocations: 4 kB / 0.6601 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.7494, allocations: 47.8 kB / 0.6602 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.7494, allocations: 10.88 kB / 0.6602 GB, free: 1.77 MB / 458.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 ($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 () * 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.0001104/0.7495, allocations: 122.4 kB / 0.6603 GB, free: 1.645 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.7496, allocations: 19.89 kB / 0.6603 GB, free: 1.625 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.7496, allocations: 8.062 kB / 0.6603 GB, free: 1.625 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.7496, allocations: 4.141 kB / 0.6603 GB, free: 1.621 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7496, allocations: 0 / 0.6603 GB, free: 1.621 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7496, allocations: 3.984 kB / 0.6603 GB, free: 1.617 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.7498, allocations: 190.5 kB / 0.6605 GB, free: 1.406 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7498, allocations: 0 / 0.6605 GB, free: 1.406 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.7499, allocations: 11.94 kB / 0.6605 GB, free: 1.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.7499, allocations: 0 / 0.6605 GB, free: 1.395 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.7499, allocations: 7.312 kB / 0.6605 GB, free: 1.391 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7499, allocations: 0 / 0.6605 GB, free: 1.391 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7499, allocations: 7.938 kB / 0.6605 GB, free: 1.383 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.7503, allocations: 238.5 kB / 0.6608 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.7503, allocations: 88.92 kB / 0.6608 GB, free: 1.043 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.7504, allocations: 4 kB / 0.6608 GB, free: 1.039 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.649e-05/0.7504, allocations: 11.98 kB / 0.6609 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.7505, allocations: 6.625 kB / 0.6609 GB, free: 1.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.7505, allocations: 7.984 kB / 0.6609 GB, free: 1.016 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.117e-05/0.7506, allocations: 106 kB / 0.661 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7506, allocations: 0 / 0.661 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003899/0.751, allocations: 114.9 kB / 0.6611 GB, free: 0.8125 MB / 458.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) * 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.0003677/0.7514, allocations: 206.3 kB / 0.6613 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.7517, allocations: 211.6 kB / 0.6615 GB, free: 420 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7517, allocations: 0 / 0.6615 GB, free: 420 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.405e-05/0.7518, allocations: 49.62 kB / 0.6615 GB, free: 384 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.752, allocations: 11.38 kB / 0.6615 GB, free: 376 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.7524, allocations: 171.5 kB / 0.6617 GB, free: 196 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.7528, allocations: 0.7162 MB / 0.6624 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.292e-05/0.7529, allocations: 12.88 kB / 0.6624 GB, free: 15.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.753, allocations: 14.94 kB / 0.6624 GB, free: 15.42 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.753, allocations: 4 kB / 0.6624 GB, free: 15.42 MB / 474.7 MB Notification: Performance of Templates: time 0.006594/0.7596, allocations: 2.76 MB / 0.6651 GB, free: 12.7 MB / 474.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)