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.00153/0.00153, allocations: 83.59 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.001646/0.001646, allocations: 169 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 1.048/1.048, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.914/1.914, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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 1.993e-06/1.993e-06, allocations: 0 / 0.8115 GB, free: 1.797 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.955e-05, allocations: 3.125 kB / 0.8115 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002049/0.002078, allocations: 1.473 MB / 0.8129 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006749/0.002753, allocations: 496.5 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.002792, allocations: 0 / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.31e-05/0.002875, allocations: 3.938 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.002941, allocations: 11.88 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007139/0.003654, allocations: 236.8 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.003842, allocations: 155.7 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.003881, allocations: 1.75 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.003966, allocations: 79.88 kB / 0.8139 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.004037, allocations: 35.89 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.004064, allocations: 13.19 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.004321, allocations: 187.6 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.312e-05/0.004384, allocations: 39.91 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.107e-05/0.004445, allocations: 41.5 kB / 0.8142 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.004756, allocations: 243.4 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004759, allocations: 0 / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.362e-06/0.00476, allocations: 0 / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.004766, allocations: 0 / 0.8144 GB, free: 14.82 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.0004967/0.005262, allocations: 474.5 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.005302, allocations: 12.03 kB / 0.8149 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.005357, allocations: 12.89 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.005531, allocations: 158.8 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.005544, allocations: 8.375 kB / 0.815 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.005566, allocations: 16.31 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.005686, allocations: 70.33 kB / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.005695, allocations: 192 / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.005704, allocations: 0.9062 kB / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.005713, allocations: 6.031 kB / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.085e-05/0.005754, allocations: 15.92 kB / 0.8151 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.005933, allocations: 184.2 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.039e-05/0.006013, allocations: 74.09 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.006058, allocations: 40.23 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.006067, allocations: 0.9375 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.006205, allocations: 115.2 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.006207, allocations: 0 / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0002442/0.006451, allocations: 122.7 kB / 0.8157 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.0065, allocations: 89.09 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.006611, allocations: 201.8 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.006633, allocations: 39.06 kB / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.006694, allocations: 147.2 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.006738, allocations: 39.69 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.006795, allocations: 56.48 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.006918, allocations: 0.5 MB / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.006955, allocations: 15.98 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.007204, allocations: 0.596 MB / 0.8173 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.668e-05/0.007291, allocations: 67.3 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007293, allocations: 0.5312 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001388/0.007432, allocations: 125.5 kB / 0.8175 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.007446, allocations: 4.844 kB / 0.8175 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.007468, allocations: 7.984 kB / 0.8175 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.007486, allocations: 6 kB / 0.8175 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.007578, allocations: 15.94 kB / 0.8175 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.007584, allocations: 4 kB / 0.8175 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.007726, allocations: 54.92 kB / 0.8176 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.007735, allocations: 4 kB / 0.8176 GB, free: 11.16 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 0.0001/0.007835, allocations: 169.3 kB / 0.8177 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.007851, allocations: 15.91 kB / 0.8177 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.00788, allocations: 16.77 kB / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.007883, allocations: 5.688 kB / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.007887, allocations: 0 / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.007891, allocations: 0 / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.755e-05/0.007989, allocations: 144.6 kB / 0.8179 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.007991, allocations: 4 kB / 0.8179 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.008018, allocations: 12.47 kB / 0.8179 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008019, allocations: 0 / 0.8179 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.008027, allocations: 0.5625 kB / 0.8179 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.008028, allocations: 5.719 kB / 0.8179 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.00803, allocations: 3.938 kB / 0.8179 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.008178, allocations: 156 kB / 0.8181 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.008191, allocations: 11.89 kB / 0.8181 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.008211, allocations: 3.984 kB / 0.8181 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/0.008239, allocations: 8.75 kB / 0.8181 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.008286, allocations: 11.86 kB / 0.8181 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.008291, allocations: 4.656 kB / 0.8181 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.132e-05/0.008352, allocations: 153.4 kB / 0.8183 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008352, allocations: 0 / 0.8183 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002352/0.008587, allocations: 71.86 kB / 0.8183 GB, free: 10.32 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.0002218/0.008809, allocations: 179.1 kB / 0.8185 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.008996, allocations: 128.9 kB / 0.8186 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008997, allocations: 0 / 0.8186 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.009038, allocations: 31.67 kB / 0.8187 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.00917, allocations: 11.98 kB / 0.8187 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.009523, allocations: 212.3 kB / 0.8189 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.653e-05/0.009569, allocations: 75.3 kB / 0.8189 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.009604, allocations: 8.719 kB / 0.819 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.009628, allocations: 13.53 kB / 0.819 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of SimCode: time 1.032e-06/0.009629, allocations: 4 kB / 0.819 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of Templates: time 0.004747/0.01438, allocations: 2.719 MB / 0.8216 GB, free: 6.938 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.488415468949825]