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.001476/0.001476, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.000993/0.000993, allocations: 165 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.039/1.039, 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.903/1.903, 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.643e-06/1.643e-06, allocations: 0 / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.114e-05, allocations: 3.297 kB / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002281/0.002313, allocations: 1.471 MB / 0.8129 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007589/0.003071, allocations: 486.9 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.003114, allocations: 1.688 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.454e-05/0.003208, allocations: 11.92 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.448e-05/0.003273, allocations: 7.875 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.004046, allocations: 240.8 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.004282, allocations: 151.8 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.004329, allocations: 0 / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.895e-05/0.004428, allocations: 79.88 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.004506, allocations: 37.05 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.004535, allocations: 13.38 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.004818, allocations: 187.6 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.247e-05/0.004881, allocations: 39.89 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.004946, allocations: 35.92 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.005266, allocations: 245.1 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.00527, allocations: 0 / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.532e-06/0.005271, allocations: 0 / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.005276, allocations: 7.938 kB / 0.8144 GB, free: 14.81 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.0005221/0.005798, allocations: 477.1 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.005841, allocations: 8.031 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.005903, allocations: 20.81 kB / 0.8149 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.006367, allocations: 152.4 kB / 0.815 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.006381, allocations: 12.38 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.006399, allocations: 8.375 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.006527, allocations: 69.61 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.006537, allocations: 6.719 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.006548, allocations: 4.375 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.006558, allocations: 4.359 kB / 0.8151 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.291e-05/0.006601, allocations: 19.92 kB / 0.8152 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.006779, allocations: 176.3 kB / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.174e-05/0.006861, allocations: 74.09 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.006906, allocations: 36.22 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.006916, allocations: 4.031 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.00706, allocations: 100.9 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.007061, allocations: 5.594 kB / 0.8155 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0002583/0.007319, allocations: 125.6 kB / 0.8157 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.007364, allocations: 85.05 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.007474, allocations: 205.8 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.007497, allocations: 33.7 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.007556, allocations: 155.7 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.0076, allocations: 36.23 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.007656, allocations: 60.19 kB / 0.8162 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.007776, allocations: 0.4962 MB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.007812, allocations: 15.98 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.008058, allocations: 0.5942 MB / 0.8173 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.33e-05/0.008151, allocations: 72.31 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.008153, allocations: 0 / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001385/0.008291, allocations: 125.5 kB / 0.8175 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.008306, allocations: 4.906 kB / 0.8175 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.008327, allocations: 4 kB / 0.8175 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.008341, allocations: 4.781 kB / 0.8175 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.008433, allocations: 23.98 kB / 0.8175 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.008439, allocations: 2.156 kB / 0.8175 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.008563, allocations: 47.84 kB / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.008572, allocations: 6.656 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 9.158e-05/0.008663, allocations: 181.2 kB / 0.8177 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.00868, allocations: 11.91 kB / 0.8177 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.008706, allocations: 12.78 kB / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.00871, allocations: 3.938 kB / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.008714, allocations: 0 / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.00872, allocations: 5.625 kB / 0.8178 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.227e-05/0.008812, allocations: 140.6 kB / 0.8179 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.008815, allocations: 4 kB / 0.8179 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.00884, allocations: 7.984 kB / 0.8179 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008842, allocations: 0.5 kB / 0.8179 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.008851, allocations: 4.531 kB / 0.8179 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008852, allocations: 0 / 0.8179 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.00886, allocations: 8.656 kB / 0.8179 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.009019, allocations: 164 kB / 0.8181 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.009031, allocations: 13.77 kB / 0.8181 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.00905, allocations: 0 / 0.8181 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.757e-05/0.009078, allocations: 8 kB / 0.8181 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.00912, allocations: 11.92 kB / 0.8181 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.009125, allocations: 0 / 0.8181 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.618e-05/0.009181, allocations: 155.1 kB / 0.8183 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009181, allocations: 0 / 0.8183 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002151/0.009396, allocations: 67.88 kB / 0.8183 GB, free: 10.31 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.0001995/0.009596, allocations: 175.9 kB / 0.8185 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.009773, allocations: 129.6 kB / 0.8186 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.009775, allocations: 0 / 0.8186 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.009814, allocations: 39.3 kB / 0.8187 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.009944, allocations: 8 kB / 0.8187 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.01028, allocations: 206.5 kB / 0.8189 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.01032, allocations: 79.28 kB / 0.8189 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.01035, allocations: 4.734 kB / 0.8189 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.01038, allocations: 16.5 kB / 0.819 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of SimCode: time 8.32e-07/0.01038, allocations: 3.938 kB / 0.819 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of Templates: time 0.005254/0.01563, allocations: 2.933 MB / 0.8218 GB, free: 6.723 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.351938114035875]