Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.657/2.657, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 179.3 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 223.2 MB / 0.7948 GB, free: 18.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 94.83 kB / 0.9346 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003932, allocations: 7.75 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3371, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/0.5507, allocations: 149.7 MB / 1.369 GB, free: 3.73 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.551, allocations: 75.94 kB / 1.369 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01513/0.5662, allocations: 5.067 MB / 1.374 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5662, allocations: 0 / 1.374 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.5662, allocations: 4 kB / 1.374 GB, free: 14.56 MB / 0.8855 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.0007446/0.567, allocations: 462.8 kB / 1.374 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.567, allocations: 8.031 kB / 1.374 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.753e-05/0.5671, allocations: 15.81 kB / 1.374 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.5675, allocations: 214.9 kB / 1.375 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.5676, allocations: 11.94 kB / 1.375 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.5676, allocations: 19.97 kB / 1.375 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.5678, allocations: 96.77 kB / 1.375 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.5678, allocations: 0 / 1.375 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.5679, allocations: 4 kB / 1.375 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5679, allocations: 4 kB / 1.375 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.568, allocations: 55.89 kB / 1.375 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.5683, allocations: 255.3 kB / 1.375 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.5685, allocations: 107.9 kB / 1.375 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.5685, allocations: 8 kB / 1.375 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.5688, allocations: 134.5 kB / 1.375 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.5688, allocations: 0 / 1.375 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.0006146/0.5694, allocations: 460.6 kB / 1.376 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.5695, allocations: 114.8 kB / 1.376 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.5696, allocations: 136 kB / 1.376 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.5697, allocations: 37.7 kB / 1.376 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.5697, allocations: 104.6 kB / 1.376 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.5698, allocations: 51.34 kB / 1.376 GB, free: 12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.5698, allocations: 4 kB / 1.376 GB, free: 12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.57, allocations: 330.8 kB / 1.377 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.5701, allocations: 52.25 kB / 1.377 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.5703, allocations: 195.1 kB / 1.377 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.5705, allocations: 79.8 kB / 1.377 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5705, allocations: 0 / 1.377 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003068/0.5708, allocations: 201.3 kB / 1.377 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5708, allocations: 8 kB / 1.377 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/0.5708, allocations: 4 kB / 1.377 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.5709, allocations: 0 / 1.377 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.571, allocations: 19.92 kB / 1.377 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.571, allocations: 0 / 1.377 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.5712, allocations: 59.8 kB / 1.377 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.5712, allocations: 12 kB / 1.377 GB, free: 10.98 MB / 0.8855 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.0001331/0.5714, allocations: 140 kB / 1.377 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.5714, allocations: 8.047 kB / 1.377 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.5715, allocations: 20.7 kB / 1.377 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5715, allocations: 8 kB / 1.377 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5715, allocations: 0 / 1.377 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5715, allocations: 0 / 1.377 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.5717, allocations: 209.5 kB / 1.378 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5717, allocations: 4 kB / 1.378 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.5717, allocations: 11.98 kB / 1.378 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5718, allocations: 0 / 1.378 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.5718, allocations: 8 kB / 1.378 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5718, allocations: 0 / 1.378 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5718, allocations: 0 / 1.378 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.5721, allocations: 249.2 kB / 1.378 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.5722, allocations: 88.95 kB / 1.378 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.5722, allocations: 8 kB / 1.378 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.873e-05/0.5723, allocations: 7.984 kB / 1.378 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.5723, allocations: 8 kB / 1.378 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.5724, allocations: 15.98 kB / 1.378 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.882e-05/0.5724, allocations: 96.67 kB / 1.378 GB, free: 10 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5725, allocations: 4 kB / 1.378 GB, free: 10 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004519/0.5729, allocations: 123.8 kB / 1.378 GB, free: 9.879 MB / 0.8855 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.0004426/0.5734, allocations: 225.4 kB / 1.378 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.5737, allocations: 210.3 kB / 1.379 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5737, allocations: 4 kB / 1.379 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.5738, allocations: 59.91 kB / 1.379 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.574, allocations: 8 kB / 1.379 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.5745, allocations: 267.8 kB / 1.379 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.5749, allocations: 0.7126 MB / 1.38 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.927e-05/0.5749, allocations: 12.88 kB / 1.38 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.575, allocations: 15.44 kB / 1.38 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/0.575, allocations: 0 / 1.38 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of Templates: time 0.006247/0.5812, allocations: 2.829 MB / 1.382 GB, free: 5.496 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches