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.001505/0.001505, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001414/0.001414, allocations: 172.3 kB / 24.87 MB, free: 8.879 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.902/1.902, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.813e-06/1.813e-06, allocations: 0 / 0.8127 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.863e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003158/0.003187, allocations: 1.464 MB / 0.8142 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.004105, allocations: 475.4 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.004157, allocations: 4 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.319e-05/0.00425, allocations: 9.516 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.004329, allocations: 11.88 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008451/0.005174, allocations: 241 kB / 0.8149 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.005395, allocations: 151.7 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.005445, allocations: 4 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.005553, allocations: 75.88 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.00564, allocations: 44.78 kB / 0.8151 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.00567, allocations: 12.53 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.005976, allocations: 179.7 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.649e-05/0.006042, allocations: 44.48 kB / 0.8154 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.006109, allocations: 36.45 kB / 0.8154 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.006456, allocations: 243.4 kB / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.00646, allocations: 1.219 kB / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.463e-06/0.006461, allocations: 0 / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.006467, allocations: 0 / 0.8156 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005329/0.007, allocations: 480.4 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.007043, allocations: 9.406 kB / 0.8161 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.007095, allocations: 16.89 kB / 0.8161 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.007289, allocations: 152.4 kB / 0.8163 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.007304, allocations: 9.531 kB / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.00733, allocations: 16.31 kB / 0.8163 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.007437, allocations: 61.61 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.007446, allocations: 1.219 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.007457, allocations: 4.375 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.007465, allocations: 4.375 kB / 0.8164 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.941e-05/0.007504, allocations: 16.89 kB / 0.8164 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.007692, allocations: 156.7 kB / 0.8165 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.761e-05/0.00778, allocations: 71.2 kB / 0.8166 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.007823, allocations: 35.44 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.007831, allocations: 1.281 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.007979, allocations: 108.4 kB / 0.8167 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.007981, allocations: 0 / 0.8167 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0002563/0.008237, allocations: 118.3 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.008291, allocations: 89.09 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.00842, allocations: 200.4 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.008452, allocations: 42.84 kB / 0.8172 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.008526, allocations: 143.2 kB / 0.8173 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.008583, allocations: 47.61 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.00866, allocations: 52.72 kB / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.008817, allocations: 0.5 MB / 0.8179 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/0.008851, allocations: 15.98 kB / 0.8179 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.009168, allocations: 0.5919 MB / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.413e-05/0.009263, allocations: 63.28 kB / 0.8185 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.009266, allocations: 4 kB / 0.8185 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001704/0.009437, allocations: 109.5 kB / 0.8186 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.009452, allocations: 10.86 kB / 0.8186 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.009473, allocations: 4 kB / 0.8187 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.009484, allocations: 0 / 0.8187 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.009566, allocations: 19.94 kB / 0.8187 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.009571, allocations: 3.938 kB / 0.8187 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.009723, allocations: 40.36 kB / 0.8187 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.009734, allocations: 4 kB / 0.8187 GB, free: 10.99 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.0001245/0.009858, allocations: 179.3 kB / 0.8189 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.009885, allocations: 19.89 kB / 0.8189 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.009918, allocations: 12.78 kB / 0.8189 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.009921, allocations: 0.8438 kB / 0.8189 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.009926, allocations: 7.938 kB / 0.8189 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.009931, allocations: 0 / 0.8189 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.01005, allocations: 118.1 kB / 0.819 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01005, allocations: 0 / 0.819 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.01009, allocations: 16.58 kB / 0.8191 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01009, allocations: 0 / 0.8191 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.0101, allocations: 2.75 kB / 0.8191 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.0101, allocations: 0 / 0.8191 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.0101, allocations: 4 kB / 0.8191 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.01029, allocations: 151.9 kB / 0.8192 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.01031, allocations: 11.89 kB / 0.8192 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.01033, allocations: 0 / 0.8192 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.854e-05/0.01038, allocations: 7.984 kB / 0.8192 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.01042, allocations: 14.66 kB / 0.8192 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01043, allocations: 3.984 kB / 0.8192 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.898e-05/0.0105, allocations: 143.8 kB / 0.8194 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0105, allocations: 4 kB / 0.8194 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003506/0.01085, allocations: 75.86 kB / 0.8195 GB, free: 10.18 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.0002576/0.01111, allocations: 167.1 kB / 0.8196 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.0113, allocations: 123.9 kB / 0.8197 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.0113, allocations: 4 kB / 0.8197 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.183e-05/0.01134, allocations: 24.77 kB / 0.8198 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.01153, allocations: 8 kB / 0.8198 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.0119, allocations: 211.7 kB / 0.82 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.057e-05/0.01195, allocations: 75.28 kB / 0.82 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.168e-05/0.01199, allocations: 5.828 kB / 0.82 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.0121, allocations: 102.2 kB / 0.8201 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.0121, allocations: 1.094 kB / 0.8201 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of Templates: time 0.006153/0.01825, allocations: 2.954 MB / 0.823 GB, free: 6.504 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.203827479388565]