Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.001538/0.001538, allocations: 67.75 kB / 20.97 MB, free: 3.582 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.001553/0.001553, allocations: 169 kB / 24.28 MB, free: 280 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.027/1.027, allocations: 177.1 MB / 204.6 MB, free: 5.66 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.858/1.858, allocations: 377.8 MB / 0.6239 GB, free: 8.59 MB / 0.5886 GB " [Timeout remaining time 177] 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.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.8115 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.902e-05, allocations: 11.55 kB / 0.8115 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001882/0.001911, allocations: 1.469 MB / 0.8129 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006379/0.002549, allocations: 483.5 kB / 0.8134 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.002591, allocations: 4 kB / 0.8134 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 7.595e-05/0.002667, allocations: 8.734 kB / 0.8134 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.002e-05/0.002727, allocations: 11.92 kB / 0.8134 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006878/0.003415, allocations: 240.2 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.003581, allocations: 148.3 kB / 0.8138 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.003619, allocations: 9.234 kB / 0.8138 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.003696, allocations: 71.94 kB / 0.8139 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.003765, allocations: 41.14 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.003788, allocations: 8 kB / 0.8139 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.004015, allocations: 191.6 kB / 0.8141 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.00407, allocations: 31.91 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.004131, allocations: 40.47 kB / 0.8142 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.004408, allocations: 248.6 kB / 0.8144 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00441, allocations: 0 / 0.8144 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00441, allocations: 0 / 0.8144 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.004414, allocations: 4 kB / 0.8144 GB, free: 15.16 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004523/0.004867, allocations: 482.2 kB / 0.8149 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.004903, allocations: 8.031 kB / 0.8149 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.004957, allocations: 16.83 kB / 0.8149 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.00511, allocations: 148.4 kB / 0.815 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.005122, allocations: 8.375 kB / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.005141, allocations: 12.97 kB / 0.815 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.005261, allocations: 65.61 kB / 0.8151 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.005267, allocations: 1.344 kB / 0.8151 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.005277, allocations: 4.375 kB / 0.8151 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.005284, allocations: 384 / 0.8151 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.366e-05/0.005328, allocations: 28.58 kB / 0.8151 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.005498, allocations: 180.3 kB / 0.8153 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.064e-05/0.005578, allocations: 74.81 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.005623, allocations: 40.12 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.005629, allocations: 1.281 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.00575, allocations: 100.4 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 8.52e-07/0.005751, allocations: 0 / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0002514/0.006002, allocations: 127.1 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.006053, allocations: 93.03 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.006166, allocations: 200.1 kB / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.006189, allocations: 33.7 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.006255, allocations: 157.2 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.006301, allocations: 39.67 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.006358, allocations: 55.36 kB / 0.8162 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.006474, allocations: 0.4962 MB / 0.8167 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.00651, allocations: 19.98 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.006822, allocations: 0.5914 MB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.846e-05/0.006911, allocations: 75.23 kB / 0.8173 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.006913, allocations: 0 / 0.8173 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001368/0.007049, allocations: 121.5 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.007061, allocations: 5.281 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.007079, allocations: 8 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.007093, allocations: 7.922 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.007169, allocations: 20.53 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.007174, allocations: 0 / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.007296, allocations: 54.05 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.007304, allocations: 7.938 kB / 0.8176 GB, free: 11.51 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.08e-05/0.007395, allocations: 175.1 kB / 0.8177 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.007411, allocations: 15.91 kB / 0.8177 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.007434, allocations: 12.78 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.007437, allocations: 4.844 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.007442, allocations: 3.984 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.007448, allocations: 4 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.622e-05/0.007534, allocations: 141.5 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.007537, allocations: 7.984 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.007557, allocations: 5.281 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007559, allocations: 0 / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.007568, allocations: 4 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.00757, allocations: 0.625 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.007572, allocations: 3.938 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.007713, allocations: 152.8 kB / 0.8181 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.007724, allocations: 15.89 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.007741, allocations: 1.594 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/0.007764, allocations: 7.984 kB / 0.8181 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.007802, allocations: 7.938 kB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.00781, allocations: 7.984 kB / 0.8181 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.06e-05/0.00786, allocations: 146.2 kB / 0.8182 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00786, allocations: 0 / 0.8182 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002212/0.008082, allocations: 71.86 kB / 0.8183 GB, free: 10.67 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001902/0.008272, allocations: 184.3 kB / 0.8185 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.008448, allocations: 131 kB / 0.8186 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.008449, allocations: 0 / 0.8186 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.008485, allocations: 31.61 kB / 0.8186 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.008607, allocations: 8 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.008918, allocations: 215 kB / 0.8189 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.715e-05/0.008955, allocations: 71.3 kB / 0.8189 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.008991, allocations: 6.172 kB / 0.8189 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.009015, allocations: 20.48 kB / 0.819 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.009015, allocations: 0 / 0.819 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of Templates: time 0.004181/0.0132, allocations: 2.735 MB / 0.8216 GB, free: 7.281 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.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.328202282078564]