Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 71.75 kB / 20.97 MB, free: 3.566 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 169 kB / 24.28 MB, free: 268 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.047/1.047, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.867/1.867, allocations: 377.8 MB / 0.6239 GB, free: 8.586 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.951e-05, allocations: 3.281 kB / 0.8115 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001889/0.001908, allocations: 1.533 MB / 0.813 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008448/0.002753, allocations: 0.6689 MB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.002793, allocations: 4 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.214e-05/0.002865, allocations: 11.86 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.251e-05/0.002928, allocations: 15.86 kB / 0.8137 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007186/0.003646, allocations: 356.4 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.003845, allocations: 175.6 kB / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.003887, allocations: 4 kB / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.567e-05/0.003983, allocations: 93.33 kB / 0.8143 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.004062, allocations: 43.88 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.004089, allocations: 12 kB / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.00438, allocations: 284 kB / 0.8146 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.004433, allocations: 32.88 kB / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.004492, allocations: 47.89 kB / 0.8147 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.004836, allocations: 323.2 kB / 0.815 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004838, allocations: 0.7188 kB / 0.815 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004839, allocations: 0.5312 kB / 0.815 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.004843, allocations: 0 / 0.815 GB, free: 14.56 MB / 0.7761 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.0004908/0.005334, allocations: 0.5049 MB / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.005371, allocations: 8.031 kB / 0.8155 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.005428, allocations: 22 kB / 0.8155 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.005596, allocations: 156.4 kB / 0.8156 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.005609, allocations: 4.375 kB / 0.8156 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.005629, allocations: 12.38 kB / 0.8157 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.005774, allocations: 96.78 kB / 0.8158 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.005782, allocations: 192 / 0.8158 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.005792, allocations: 1.219 kB / 0.8158 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.005802, allocations: 384 / 0.8158 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.991e-05/0.005862, allocations: 37 kB / 0.8158 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.006031, allocations: 188 kB / 0.816 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.246e-05/0.006123, allocations: 102.4 kB / 0.8161 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.857e-05/0.006182, allocations: 63.2 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.00619, allocations: 3.984 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.006333, allocations: 135.2 kB / 0.8163 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.143e-06/0.006334, allocations: 0 / 0.8163 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0002894/0.006624, allocations: 181.3 kB / 0.8164 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.006678, allocations: 114.8 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.006775, allocations: 193.8 kB / 0.8167 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.006801, allocations: 37.69 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.006856, allocations: 147.4 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.006901, allocations: 59.52 kB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.006961, allocations: 63.84 kB / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.007075, allocations: 0.502 MB / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.87e-05/0.007123, allocations: 28.27 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.00732, allocations: 452 kB / 0.818 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.007434, allocations: 107 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.007437, allocations: 0 / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001825/0.007619, allocations: 173.4 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.007632, allocations: 5.531 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.007652, allocations: 4 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.007664, allocations: 7.938 kB / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.007758, allocations: 27.92 kB / 0.8183 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.007764, allocations: 1.062 kB / 0.8183 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.007867, allocations: 44.33 kB / 0.8183 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.007877, allocations: 12 kB / 0.8183 GB, free: 10.71 MB / 0.7761 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 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/0.007965, allocations: 176.1 kB / 0.8185 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.007983, allocations: 20.73 kB / 0.8185 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.008006, allocations: 12.78 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.00801, allocations: 9.219 kB / 0.8185 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008013, allocations: 0 / 0.8185 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008016, allocations: 3.938 kB / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.861e-05/0.008105, allocations: 148.5 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008107, allocations: 0.8125 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.008133, allocations: 15.98 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.008135, allocations: 0.875 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.008143, allocations: 4 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.008144, allocations: 1.562 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.008146, allocations: 7.938 kB / 0.8187 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.008313, allocations: 193.2 kB / 0.8189 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-06/0.008323, allocations: 11.89 kB / 0.8189 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.008344, allocations: 12.84 kB / 0.8189 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.638e-05/0.00837, allocations: 7.984 kB / 0.8189 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.00841, allocations: 13.05 kB / 0.8189 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.008419, allocations: 4 kB / 0.819 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.008464, allocations: 140.6 kB / 0.8191 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008464, allocations: 1.125 kB / 0.8191 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000219/0.008683, allocations: 99.8 kB / 0.8192 GB, free: 9.777 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002231/0.008906, allocations: 228.4 kB / 0.8194 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.009111, allocations: 193.8 kB / 0.8196 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.009113, allocations: 1.156 kB / 0.8196 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/0.00916, allocations: 43.61 kB / 0.8196 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.009282, allocations: 8 kB / 0.8196 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.009616, allocations: 230.3 kB / 0.8199 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.009657, allocations: 76.92 kB / 0.8199 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.098e-05/0.009688, allocations: 8.984 kB / 0.8199 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.009715, allocations: 17.56 kB / 0.82 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.009715, allocations: 0 / 0.82 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of Templates: time 0.004479/0.01419, allocations: 3.27 MB / 0.8231 GB, free: 5.703 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.37023607082665]