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.386/1.386, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 173.9 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0008823/0.0008823, allocations: 99.06 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 8.219 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2643, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1921/0.4564, allocations: 132.3 MB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.4568, allocations: 71.95 kB / 1.029 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0145/0.4713, allocations: 4.642 MB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.326e-06/0.4713, allocations: 0 / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.4713, allocations: 8 kB / 1.034 GB, free: 6.734 MB / 0.6823 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.00122/0.4726, allocations: 0.6369 MB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4726, allocations: 12.03 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.4727, allocations: 35.81 kB / 1.035 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008118/0.4736, allocations: 318.6 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.947e-05/0.4737, allocations: 27.98 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.389e-05/0.4738, allocations: 43.98 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.4745, allocations: 346.3 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4745, allocations: 4 kB / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.4746, allocations: 11.98 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.4746, allocations: 0 / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.475, allocations: 131.8 kB / 1.035 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006567/0.4757, allocations: 491 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.4764, allocations: 316.1 kB / 1.036 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.4764, allocations: 8.125 kB / 1.036 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000749/0.4772, allocations: 375.9 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 1.783e-06/0.4772, allocations: 0 / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001569/0.4787, allocations: 0.6883 MB / 1.037 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/0.4789, allocations: 203.9 kB / 1.037 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.4791, allocations: 135.4 kB / 1.038 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.03e-05/0.4792, allocations: 57.62 kB / 1.038 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.935e-05/0.4792, allocations: 109.2 kB / 1.038 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.382e-05/0.4794, allocations: 90.83 kB / 1.038 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.4794, allocations: 20 kB / 1.038 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4796, allocations: 330.8 kB / 1.038 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.4801, allocations: 220.7 kB / 1.038 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.4805, allocations: 277 kB / 1.039 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.4809, allocations: 323.5 kB / 1.039 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.481, allocations: 0 / 1.039 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001434/0.4824, allocations: 0.9371 MB / 1.04 GB, free: 260 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.4825, allocations: 117.1 kB / 1.04 GB, free: 124 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4825, allocations: 0 / 1.04 GB, free: 124 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4826, allocations: 4 kB / 1.04 GB, free: 120 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.4827, allocations: 27.92 kB / 1.04 GB, free: 92 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4827, allocations: 12.03 kB / 1.04 GB, free: 80 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/0.4833, allocations: 119.6 kB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.4834, allocations: 39.98 kB / 1.04 GB, free: 15.92 MB / 0.698 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 () * Number of clocked 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.0002141/0.4836, allocations: 181.7 kB / 1.04 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.4836, allocations: 19.81 kB / 1.04 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.4837, allocations: 24.7 kB / 1.04 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4837, allocations: 4 kB / 1.04 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.4837, allocations: 4 kB / 1.04 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4837, allocations: 0 / 1.04 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.4841, allocations: 309.3 kB / 1.041 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4841, allocations: 7.953 kB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.437e-05/0.4842, allocations: 16 kB / 1.041 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4842, allocations: 0 / 1.041 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.4843, allocations: 23.95 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.4843, allocations: 7.938 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4843, allocations: 0 / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.4854, allocations: 0.659 MB / 1.041 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.4855, allocations: 92.86 kB / 1.041 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.722e-05/0.4856, allocations: 39.94 kB / 1.041 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.4858, allocations: 19.97 kB / 1.041 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.4859, allocations: 39.89 kB / 1.041 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.4859, allocations: 31.95 kB / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.703e-05/0.486, allocations: 114.3 kB / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.486, allocations: 0 / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004274/0.4864, allocations: 123.9 kB / 1.042 GB, free: 14.09 MB / 0.698 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) * Number of clocked states: 0 () * 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.0002518/0.4867, allocations: 179.1 kB / 1.042 GB, free: 13.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.488, allocations: 0.9625 MB / 1.043 GB, free: 12.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.488, allocations: 0 / 1.043 GB, free: 12.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.4885, allocations: 224.9 kB / 1.043 GB, free: 12.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.4887, allocations: 12.2 kB / 1.043 GB, free: 12.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.4899, allocations: 495.3 kB / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.4903, allocations: 0.7292 MB / 1.044 GB, free: 11.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.858e-05/0.4904, allocations: 21.89 kB / 1.044 GB, free: 11.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.4905, allocations: 23.42 kB / 1.044 GB, free: 11.34 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/0.4905, allocations: 0 / 1.044 GB, free: 11.34 MB / 0.698 GB Notification: Performance of Templates: time 0.009651/0.5001, allocations: 4.656 MB / 1.049 GB, free: 6.773 MB / 0.698 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