Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001036/0.001036, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0012/0.0012, allocations: 185.3 kB / 24.09 MB, free: 412 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 0.993/0.993, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.788/1.788, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.575e-05, allocations: 7.094 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001809/0.001824, allocations: 1.46 MB / 0.7889 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006073/0.002432, allocations: 487.1 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.002465, allocations: 0.7188 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.522e-05/0.00253, allocations: 7.922 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.467e-05/0.002585, allocations: 14.12 kB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.003116, allocations: 251.2 kB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.003276, allocations: 140.8 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.003312, allocations: 7.969 kB / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.084e-05/0.003393, allocations: 79.89 kB / 0.7899 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.863e-05/0.003452, allocations: 33.17 kB / 0.7899 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.003475, allocations: 12 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.003679, allocations: 189.7 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.003726, allocations: 39.89 kB / 0.7901 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.003771, allocations: 35.92 kB / 0.7902 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.003998, allocations: 243.4 kB / 0.7904 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.003999, allocations: 0 / 0.7904 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004, allocations: 2.156 kB / 0.7904 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.004004, allocations: 0 / 0.7904 GB, free: 9.27 MB / 0.7448 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.0006537/0.004658, allocations: 475.9 kB / 0.7909 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.004692, allocations: 12.03 kB / 0.7909 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.004731, allocations: 20.88 kB / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.004859, allocations: 155.4 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.004871, allocations: 8.375 kB / 0.7911 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.004886, allocations: 8.375 kB / 0.7911 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.104e-05/0.004967, allocations: 69.59 kB / 0.7911 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.004973, allocations: 1.938 kB / 0.7911 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.004981, allocations: 8.359 kB / 0.7911 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.004986, allocations: 384 / 0.7911 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.707e-05/0.005013, allocations: 19.86 kB / 0.7912 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.005148, allocations: 156.8 kB / 0.7913 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.83e-05/0.005206, allocations: 67.05 kB / 0.7914 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.005237, allocations: 39.62 kB / 0.7914 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.005245, allocations: 4.594 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.648e-05/0.005341, allocations: 98.27 kB / 0.7915 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.005342, allocations: 0 / 0.7915 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0001701/0.005513, allocations: 113.5 kB / 0.7916 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.005551, allocations: 89.09 kB / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.005643, allocations: 203.9 kB / 0.7919 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.005663, allocations: 40.16 kB / 0.7919 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.005713, allocations: 143.2 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.005749, allocations: 43.64 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.005797, allocations: 55.34 kB / 0.7922 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.005911, allocations: 0.5 MB / 0.7927 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.005932, allocations: 19.92 kB / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.006149, allocations: 0.5936 MB / 0.7933 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.366e-05/0.006213, allocations: 67.22 kB / 0.7933 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006215, allocations: 0.5312 kB / 0.7933 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001016/0.006316, allocations: 105.5 kB / 0.7934 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.006326, allocations: 5.656 kB / 0.7934 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.006341, allocations: 7.984 kB / 0.7934 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.00635, allocations: 0 / 0.7934 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.006411, allocations: 23.94 kB / 0.7935 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.006415, allocations: 5.219 kB / 0.7935 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.036e-05/0.006506, allocations: 37.02 kB / 0.7935 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.006513, allocations: 9.156 kB / 0.7935 GB, free: 5.695 MB / 0.7448 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 7e-05/0.006583, allocations: 164.6 kB / 0.7937 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.006595, allocations: 17.28 kB / 0.7937 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.006616, allocations: 12.77 kB / 0.7937 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.006618, allocations: 4 kB / 0.7937 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.006621, allocations: 3.938 kB / 0.7937 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.006624, allocations: 4.781 kB / 0.7937 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.286e-05/0.006697, allocations: 125.2 kB / 0.7938 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006698, allocations: 0.8438 kB / 0.7938 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/0.006717, allocations: 11.98 kB / 0.7938 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006718, allocations: 1.281 kB / 0.7938 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.006724, allocations: 4.094 kB / 0.7938 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.006724, allocations: 0 / 0.7938 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.006725, allocations: 0 / 0.7938 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.006839, allocations: 163.1 kB / 0.794 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-06/0.006849, allocations: 11.89 kB / 0.794 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.006863, allocations: 12.81 kB / 0.794 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.006884, allocations: 3.984 kB / 0.794 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.006908, allocations: 5.562 kB / 0.794 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.006912, allocations: 4 kB / 0.794 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.006956, allocations: 147.8 kB / 0.7942 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006956, allocations: 0 / 0.7942 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001802/0.007136, allocations: 73.05 kB / 0.7942 GB, free: 4.891 MB / 0.7448 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.0001695/0.007306, allocations: 176.8 kB / 0.7944 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.007439, allocations: 126.1 kB / 0.7945 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.007441, allocations: 0 / 0.7945 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-05/0.00747, allocations: 35.61 kB / 0.7946 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.007576, allocations: 0 / 0.7946 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.007837, allocations: 214.5 kB / 0.7948 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.496e-05/0.007872, allocations: 67.33 kB / 0.7948 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.946e-05/0.007901, allocations: 9.234 kB / 0.7948 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/0.00798, allocations: 103.5 kB / 0.7949 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of SimCode: time 4.2e-07/0.00798, allocations: 0 / 0.7949 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of Templates: time 0.004264/0.01224, allocations: 2.917 MB / 0.7978 GB, free: 1.25 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.052484422922134]