Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,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.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,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.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00128/0.00128, allocations: 184.9 kB / 326.5 MB, free: 2.262 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.98/1.98, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001019/0.001019, allocations: 86.05 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004273, allocations: 10.44 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2688, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/0.4593, allocations: 132.3 MB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.4595, allocations: 79.94 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0144/0.4739, allocations: 4.639 MB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.505e-06/0.474, allocations: 4 kB / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.474, allocations: 4 kB / 1.034 GB, free: 6.727 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.001192/0.4752, allocations: 0.6447 MB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.4752, allocations: 8.031 kB / 1.035 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.4754, allocations: 35.81 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007181/0.4761, allocations: 318.6 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/0.4762, allocations: 31.98 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.689e-05/0.4763, allocations: 43.98 kB / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.4769, allocations: 346.3 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.4769, allocations: 0 / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.477, allocations: 15.97 kB / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.477, allocations: 4 kB / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.4774, allocations: 127.8 kB / 1.035 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.478, allocations: 491 kB / 1.036 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.4785, allocations: 316.1 kB / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.4786, allocations: 8.125 kB / 1.036 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006496/0.4792, allocations: 371.9 kB / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 1.512e-06/0.4793, allocations: 3.938 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001539/0.4808, allocations: 0.6893 MB / 1.037 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.4809, allocations: 207.8 kB / 1.037 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.4811, allocations: 135.4 kB / 1.038 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.101e-05/0.4812, allocations: 54.06 kB / 1.038 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.4813, allocations: 108.8 kB / 1.038 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.4814, allocations: 90.83 kB / 1.038 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.4814, allocations: 20 kB / 1.038 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4816, allocations: 330.8 kB / 1.038 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.4821, allocations: 216.8 kB / 1.038 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.4825, allocations: 281 kB / 1.039 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.483, allocations: 319.1 kB / 1.039 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.483, allocations: 0 / 1.039 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001427/0.4844, allocations: 0.9338 MB / 1.04 GB, free: 252 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.4846, allocations: 117.1 kB / 1.04 GB, free: 116 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4846, allocations: 7.984 kB / 1.04 GB, free: 108 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4846, allocations: 3.938 kB / 1.04 GB, free: 104 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.4848, allocations: 27.92 kB / 1.04 GB, free: 76 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.4848, allocations: 12.03 kB / 1.04 GB, free: 64 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/0.4854, allocations: 127.6 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.739e-05/0.4854, allocations: 31.98 kB / 1.04 GB, free: 15.91 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.0002373/0.4857, allocations: 182.7 kB / 1.04 GB, free: 15.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.4857, allocations: 19.81 kB / 1.04 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.59e-05/0.4858, allocations: 24.7 kB / 1.04 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.4858, allocations: 8 kB / 1.04 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.4858, allocations: 4 kB / 1.04 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4859, allocations: 0 / 1.04 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.4862, allocations: 317.3 kB / 1.041 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4862, allocations: 3.953 kB / 1.041 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.883e-05/0.4863, allocations: 16 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.4863, allocations: 7.938 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.4863, allocations: 19.95 kB / 1.041 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4863, allocations: 4 kB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4863, allocations: 4 kB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.4875, allocations: 0.6573 MB / 1.041 GB, free: 14.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.4876, allocations: 96.86 kB / 1.041 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.091e-05/0.4877, allocations: 35.94 kB / 1.042 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.4879, allocations: 27.97 kB / 1.042 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.4879, allocations: 27.95 kB / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.488, allocations: 31.95 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.658e-05/0.4881, allocations: 113.8 kB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4881, allocations: 0 / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004191/0.4885, allocations: 123.9 kB / 1.042 GB, free: 14.06 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.0003399/0.4889, allocations: 175.1 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.4902, allocations: 0.9625 MB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4902, allocations: 0 / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.4907, allocations: 221.5 kB / 1.043 GB, free: 12.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.4908, allocations: 15.98 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009374/0.4918, allocations: 489.3 kB / 1.044 GB, free: 12.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.4921, allocations: 0.7331 MB / 1.044 GB, free: 11.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.907e-05/0.4922, allocations: 13.95 kB / 1.044 GB, free: 11.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.4922, allocations: 23.42 kB / 1.044 GB, free: 11.33 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.4922, allocations: 4 kB / 1.044 GB, free: 11.33 MB / 0.698 GB Notification: Performance of Templates: time 0.009038/0.5013, allocations: 4.653 MB / 1.049 GB, free: 6.762 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches