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.001001/0.001001, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009821/0.0009821, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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 0.9572/0.9572, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.887/1.887, allocations: 377.9 MB / 0.6236 GB, free: 8.539 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.383e-06/1.383e-06, allocations: 0 / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.124e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001801/0.001822, allocations: 1.542 MB / 0.813 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008185/0.002641, allocations: 0.6626 MB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.002677, allocations: 4.906 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.012e-05/0.002747, allocations: 7.922 kB / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.999e-05/0.002807, allocations: 16.52 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007313/0.003538, allocations: 357 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.003724, allocations: 175.6 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.003757, allocations: 4 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.939e-05/0.003847, allocations: 93.42 kB / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.003914, allocations: 43.89 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.003942, allocations: 15.98 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.004245, allocations: 276.9 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.004305, allocations: 39.89 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.004368, allocations: 39.92 kB / 0.8147 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.004702, allocations: 335 kB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.004706, allocations: 9.5 kB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004707, allocations: 0 / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.004712, allocations: 0 / 0.815 GB, free: 14.19 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.0004734/0.005185, allocations: 0.4887 MB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.00522, allocations: 12.03 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.005273, allocations: 21.84 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.005435, allocations: 148.5 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.005447, allocations: 12.3 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.005468, allocations: 12.91 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.005594, allocations: 92.81 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.005601, allocations: 4.125 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.005611, allocations: 5.656 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.005618, allocations: 384 / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.342e-05/0.005671, allocations: 35.84 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.005835, allocations: 184 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.005937, allocations: 115.1 kB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.005994, allocations: 51.16 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.006002, allocations: 4 kB / 0.8162 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.006138, allocations: 136.8 kB / 0.8163 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 8.02e-07/0.006138, allocations: 0 / 0.8163 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0002727/0.006411, allocations: 170.8 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.006464, allocations: 124 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.006568, allocations: 197.8 kB / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.006591, allocations: 33.7 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.006644, allocations: 151.3 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.006691, allocations: 53.44 kB / 0.817 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.00676, allocations: 67.34 kB / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.006896, allocations: 0.4962 MB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.006946, allocations: 32.25 kB / 0.8176 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.007154, allocations: 455.9 kB / 0.818 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.007266, allocations: 109.3 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007268, allocations: 0 / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001772/0.007446, allocations: 161.4 kB / 0.8183 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.007458, allocations: 8 kB / 0.8183 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.007477, allocations: 7.984 kB / 0.8183 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.00749, allocations: 3.938 kB / 0.8183 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.007579, allocations: 35.36 kB / 0.8183 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.007584, allocations: 0 / 0.8183 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.007687, allocations: 35.86 kB / 0.8183 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.007697, allocations: 12 kB / 0.8184 GB, free: 10.36 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.471e-05/0.007782, allocations: 179.3 kB / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.0078, allocations: 15.91 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.007825, allocations: 20.77 kB / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.007829, allocations: 8.562 kB / 0.8186 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.007833, allocations: 0.5 kB / 0.8186 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.007836, allocations: 0 / 0.8186 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.647e-05/0.007932, allocations: 157 kB / 0.8187 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007933, allocations: 0.5625 kB / 0.8187 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.007957, allocations: 12 kB / 0.8187 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.007959, allocations: 1.406 kB / 0.8187 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.007968, allocations: 7.984 kB / 0.8187 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.00797, allocations: 3.938 kB / 0.8187 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.007972, allocations: 4.469 kB / 0.8187 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.008139, allocations: 193.6 kB / 0.8189 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.008153, allocations: 16.5 kB / 0.8189 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.008171, allocations: 5.969 kB / 0.819 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.666e-05/0.008197, allocations: 4 kB / 0.819 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.008243, allocations: 11.98 kB / 0.819 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.00825, allocations: 7.984 kB / 0.819 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.008299, allocations: 139.8 kB / 0.8191 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008299, allocations: 8.75 kB / 0.8191 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002263/0.008525, allocations: 99.8 kB / 0.8192 GB, free: 9.41 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.0002145/0.00874, allocations: 216.2 kB / 0.8194 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.00894, allocations: 189.9 kB / 0.8196 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.008943, allocations: 4 kB / 0.8196 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.018e-05/0.008993, allocations: 47.59 kB / 0.8196 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.009111, allocations: 8.906 kB / 0.8197 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.009448, allocations: 241.7 kB / 0.8199 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.292e-05/0.009491, allocations: 69.25 kB / 0.82 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.009521, allocations: 13.25 kB / 0.82 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.009546, allocations: 12.5 kB / 0.82 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.009547, allocations: 0 / 0.82 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of Templates: time 0.004533/0.01408, allocations: 3.266 MB / 0.8232 GB, free: 5.348 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.393570924177766]