Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 249.3 MB / 261.8 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 176.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008346/0.0008347, allocations: 90.52 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.044e-05/4.046e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2069, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6225/0.8295, allocations: 132.2 MB / 1.021 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.8298, allocations: 75.83 kB / 1.021 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01438/0.8442, allocations: 4.623 MB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8442, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.8442, allocations: 4 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001097/0.8453, allocations: 0.6224 MB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.8454, allocations: 8.031 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.8455, allocations: 35.81 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007644/0.8463, allocations: 318.9 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.484e-05/0.8463, allocations: 31.17 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.8465, allocations: 47.55 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.847, allocations: 322.3 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.847, allocations: 0 / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.847, allocations: 11.73 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.8471, allocations: 4 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.8473, allocations: 124.3 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.8478, allocations: 493.9 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.8482, allocations: 299.4 kB / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.8484, allocations: 156.7 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.8485, allocations: 8 kB / 1.028 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000488/0.849, allocations: 357.3 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/0.849, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36): time 0.0008817/0.8499, allocations: 0.5297 MB / 1.029 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.85, allocations: 199.2 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.8501, allocations: 133.9 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.378e-05/0.8502, allocations: 51.86 kB / 1.029 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.8503, allocations: 106.9 kB / 1.029 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.33e-05/0.8504, allocations: 94.25 kB / 1.029 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.8504, allocations: 18.31 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.8505, allocations: 336.7 kB / 1.03 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.8509, allocations: 214.8 kB / 1.03 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.8513, allocations: 271.3 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.8518, allocations: 305.6 kB / 1.03 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.8518, allocations: 0 / 1.03 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001551/0.8534, allocations: 0.9294 MB / 1.031 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.8536, allocations: 123.4 kB / 1.031 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.8536, allocations: 0 / 1.031 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/0.8536, allocations: 4 kB / 1.031 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.8538, allocations: 28.02 kB / 1.031 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.8538, allocations: 0 / 1.031 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006018/0.8545, allocations: 126.1 kB / 1.032 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/0.8546, allocations: 37.67 kB / 1.032 GB, free: 8.727 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition5,$whenCondition6,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.nexStaInd,occSchDay2.nexStaInd,$PRE.occSchDay2.nexStoInd,occSchDay2.nexStoInd,$PRE.occSchDay2.iPerSta,occSchDay2.iPerSta,$PRE.occSchDay2.iPerSto,occSchDay2.iPerSto,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.nexStaInd,occSchDay1.nexStaInd,$PRE.occSchDay1.nexStoInd,occSchDay1.nexStoInd,$PRE.occSchDay1.iPerSta,occSchDay1.iPerSta,$PRE.occSchDay1.iPerSto,occSchDay1.iPerSto,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * 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.0003055/0.8549, allocations: 165.8 kB / 1.032 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/0.855, allocations: 23.8 kB / 1.032 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.149e-05/0.855, allocations: 20.81 kB / 1.032 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.8551, allocations: 8 kB / 1.032 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.8551, allocations: 0 / 1.032 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.8551, allocations: 3.984 kB / 1.032 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.8555, allocations: 316.2 kB / 1.032 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8555, allocations: 0 / 1.032 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-05/0.8556, allocations: 27.36 kB / 1.032 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.8556, allocations: 7.938 kB / 1.032 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/0.8557, allocations: 19.14 kB / 1.032 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.8557, allocations: 4 kB / 1.032 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.8557, allocations: 11.92 kB / 1.032 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009992/0.8567, allocations: 0.613 MB / 1.033 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.8568, allocations: 100.9 kB / 1.033 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.932e-05/0.8569, allocations: 30.44 kB / 1.033 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.8571, allocations: 27.66 kB / 1.033 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.8572, allocations: 31.39 kB / 1.033 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.8573, allocations: 34.7 kB / 1.033 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.051e-05/0.8574, allocations: 102.2 kB / 1.033 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8574, allocations: 0 / 1.033 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004576/0.8578, allocations: 129.6 kB / 1.033 GB, free: 7.148 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,occSchDay2.occupied,occSchDay2.nexStaInd,occSchDay2.nexStoInd,occSchDay2.iPerSta,occSchDay2.iPerSto,occSchDay2.tOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,occSchDay1.occupied,occSchDay1.nexStaInd,occSchDay1.nexStoInd,occSchDay1.iPerSta,occSchDay1.iPerSto,occSchDay1.tOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 21 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchDay1.tNonOcc,occSchDay1.iPerSto,occSchDay1.nexStoInd,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.nexStaInd,occSchDay1.iPerSta,occSchDay2.tNonOcc,occSchDay2.iPerSto,occSchDay2.nexStoInd,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.nexStaInd,occSchDay2.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.0003099/0.8582, allocations: 181.2 kB / 1.033 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.8594, allocations: 0.9368 MB / 1.034 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8594, allocations: 0 / 1.034 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.8597, allocations: 209.7 kB / 1.034 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.8599, allocations: 26.23 kB / 1.035 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000701/0.8606, allocations: 361.9 kB / 1.035 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.861, allocations: 0.7253 MB / 1.036 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.34e-05/0.861, allocations: 22.08 kB / 1.036 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.8611, allocations: 26.86 kB / 1.036 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of SimCode: time 4.41e-07/0.8611, allocations: 0 / 1.036 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of Templates: time 0.008158/0.8692, allocations: 4.664 MB / 1.04 GB, free: 480 kB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches