Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.606/1.606, allocations: 297.8 MB / 313.7 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 189.2 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 0.6626 GB, free: 4.211 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007677/0.0007677, allocations: 96.48 kB / 0.7808 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003974, allocations: 12 kB / 0.9088 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6639/0.6643, allocations: 120.3 MB / 1.026 GB, free: 55.88 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.8474, allocations: 141.7 MB / 1.165 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.8476, allocations: 69.89 kB / 1.165 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01412/0.8618, allocations: 5.077 MB / 1.17 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.025e-06/0.8618, allocations: 4.156 kB / 1.17 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.8619, allocations: 4 kB / 1.17 GB, free: 14.27 MB / 0.7448 GB 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.0007875/0.8626, allocations: 461.5 kB / 1.17 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.8627, allocations: 13.5 kB / 1.17 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.705e-05/0.8628, allocations: 9.641 kB / 1.17 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.8631, allocations: 227.2 kB / 1.17 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.8632, allocations: 10.27 kB / 1.17 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.8632, allocations: 8.375 kB / 1.17 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.8635, allocations: 109 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.8635, allocations: 4.594 kB / 1.17 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.8636, allocations: 3.938 kB / 1.17 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.8636, allocations: 0 / 1.17 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.8637, allocations: 49.23 kB / 1.171 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.864, allocations: 243.1 kB / 1.171 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.8642, allocations: 112.8 kB / 1.171 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.8643, allocations: 75.19 kB / 1.171 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.8643, allocations: 4.469 kB / 1.171 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.8646, allocations: 144.2 kB / 1.171 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.8646, allocations: 0 / 1.171 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0004546/0.865, allocations: 226.5 kB / 1.171 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.8651, allocations: 118.4 kB / 1.171 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.8653, allocations: 145 kB / 1.172 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.8653, allocations: 38.36 kB / 1.172 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.8654, allocations: 100.6 kB / 1.172 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.8655, allocations: 56.5 kB / 1.172 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.8655, allocations: 4 kB / 1.172 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8656, allocations: 328 kB / 1.172 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.8657, allocations: 51.84 kB / 1.172 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.866, allocations: 201 kB / 1.172 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.8662, allocations: 128.2 kB / 1.172 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8662, allocations: 0 / 1.172 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003485/0.8666, allocations: 209.9 kB / 1.173 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.8666, allocations: 8.656 kB / 1.173 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/0.8667, allocations: 5.453 kB / 1.173 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.8667, allocations: 0 / 1.173 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.8668, allocations: 22.09 kB / 1.173 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.8668, allocations: 0 / 1.173 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.867, allocations: 51.48 kB / 1.173 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.8671, allocations: 10.09 kB / 1.173 GB, free: 11.1 MB / 0.7448 GB 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.0001593/0.8673, allocations: 146.8 kB / 1.173 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.8673, allocations: 12.52 kB / 1.173 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.8674, allocations: 14.17 kB / 1.173 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.8674, allocations: 6.906 kB / 1.173 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8674, allocations: 0 / 1.173 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8674, allocations: 0.7031 kB / 1.173 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.8676, allocations: 213.7 kB / 1.173 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.8677, allocations: 5.125 kB / 1.173 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.8677, allocations: 17.77 kB / 1.173 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.8677, allocations: 0 / 1.173 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.8678, allocations: 5.828 kB / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.8678, allocations: 1.469 kB / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.8678, allocations: 3.938 kB / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.8681, allocations: 218.9 kB / 1.173 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.8682, allocations: 90.17 kB / 1.173 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.8682, allocations: 4.656 kB / 1.173 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.8683, allocations: 14.16 kB / 1.173 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.8683, allocations: 7.75 kB / 1.173 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.8684, allocations: 13.45 kB / 1.173 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.999e-05/0.8685, allocations: 97.28 kB / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8685, allocations: 0 / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005228/0.869, allocations: 123.7 kB / 1.174 GB, free: 10.1 MB / 0.7448 GB 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.0004872/0.8695, allocations: 218.2 kB / 1.174 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.8698, allocations: 216 kB / 1.174 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8699, allocations: 0 / 1.174 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.134e-05/0.87, allocations: 57.19 kB / 1.174 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.8702, allocations: 12.64 kB / 1.174 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.8707, allocations: 281.8 kB / 1.174 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.871, allocations: 0.7133 MB / 1.175 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.094e-05/0.8711, allocations: 13.95 kB / 1.175 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.8711, allocations: 15.44 kB / 1.175 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of SimCode: time 3.5e-07/0.8711, allocations: 3.938 kB / 1.175 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.006856/0.878, allocations: 2.866 MB / 1.178 GB, free: 6.262 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)