Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.316/2.316, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001389/0.001389, allocations: 184 kB / 0.4902 GB, free: 2.238 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.793/1.793, allocations: 223.1 MB / 0.7992 GB, free: 14.58 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.0009091/0.0009093, allocations: 104.2 kB / 0.9396 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003974, allocations: 14.75 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3469, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.5496, allocations: 150.4 MB / 1.376 GB, free: 3.02 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.5499, allocations: 79.95 kB / 1.376 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01555/0.5655, allocations: 5.055 MB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5656, allocations: 4 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.5656, allocations: 4 kB / 1.381 GB, free: 13.86 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.0007921/0.5664, allocations: 462.8 kB / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5664, allocations: 8.562 kB / 1.382 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.084e-05/0.5665, allocations: 11.91 kB / 1.382 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.5669, allocations: 218.8 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.567, allocations: 8 kB / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.567, allocations: 16 kB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.5673, allocations: 98.09 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.5673, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.5673, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.5673, allocations: 7.938 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.5674, allocations: 47.91 kB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.5678, allocations: 263.3 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.568, allocations: 111.9 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.568, allocations: 0 / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.5683, allocations: 148 kB / 1.382 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 1.994e-06/0.5683, allocations: 4 kB / 1.382 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.0006352/0.5689, allocations: 453.4 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.569, allocations: 122.7 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.5692, allocations: 122.6 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.5692, allocations: 45.7 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.5693, allocations: 92.7 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.5694, allocations: 63.27 kB / 1.383 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-06/0.5694, allocations: 7.938 kB / 1.383 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5696, allocations: 326.8 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.5697, allocations: 52.25 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.5699, allocations: 200.2 kB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.5701, allocations: 71.92 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5701, allocations: 0 / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000337/0.5704, allocations: 201.3 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5705, allocations: 4 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.5705, allocations: 8 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5705, allocations: 0 / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.5706, allocations: 23.92 kB / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5706, allocations: 240 / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.5709, allocations: 55.86 kB / 1.384 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.5709, allocations: 4 kB / 1.384 GB, free: 10.29 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.0001597/0.5711, allocations: 152 kB / 1.384 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.5711, allocations: 15.83 kB / 1.384 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.5712, allocations: 12.72 kB / 1.384 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5712, allocations: 4 kB / 1.384 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5712, allocations: 0 / 1.384 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5712, allocations: 4 kB / 1.384 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.5714, allocations: 213.5 kB / 1.385 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5714, allocations: 3.938 kB / 1.385 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.5715, allocations: 11.98 kB / 1.385 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.5715, allocations: 4 kB / 1.385 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.5715, allocations: 4 kB / 1.385 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.5715, allocations: 3.984 kB / 1.385 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5715, allocations: 0 / 1.385 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.5719, allocations: 244.5 kB / 1.385 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.5719, allocations: 92.86 kB / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.572, allocations: 4 kB / 1.385 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.735e-05/0.572, allocations: 4 kB / 1.385 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.5721, allocations: 11.98 kB / 1.385 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.5721, allocations: 15.98 kB / 1.385 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.568e-05/0.5722, allocations: 100.4 kB / 1.385 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5722, allocations: 0 / 1.385 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004625/0.5727, allocations: 123.8 kB / 1.385 GB, free: 9.172 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.0004403/0.5731, allocations: 215.8 kB / 1.385 GB, free: 8.953 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.5735, allocations: 221.4 kB / 1.386 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5735, allocations: 0 / 1.386 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.416e-05/0.5736, allocations: 59.84 kB / 1.386 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.5737, allocations: 13.61 kB / 1.386 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.5743, allocations: 263.9 kB / 1.386 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.5746, allocations: 0.7126 MB / 1.387 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.527e-05/0.5747, allocations: 13.16 kB / 1.387 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.5747, allocations: 15.42 kB / 1.387 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of SimCode: time 1.263e-05/0.5747, allocations: 0 / 1.387 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of Templates: time 0.006546/0.5813, allocations: 2.841 MB / 1.389 GB, free: 4.785 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches