Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.494/2.494, allocations: 284.8 MB / 297.3 MB, free: 6.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 176.9 kB / 365.7 MB, free: 2.598 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.1 MB / 0.6241 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 92.95 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.422e-05, allocations: 11.98 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8607/0.8607, allocations: 115.2 MB / 0.97 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2349/1.096, allocations: 138.1 MB / 1.105 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/1.096, allocations: 71.95 kB / 1.105 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01952/1.116, allocations: 3.915 MB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.823e-06/1.116, allocations: 0 / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.319e-05/1.116, allocations: 4 kB / 1.109 GB, free: 10.4 MB / 0.7136 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.0006945/1.116, allocations: 422.2 kB / 1.109 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.116, allocations: 8.031 kB / 1.109 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/1.117, allocations: 26.17 kB / 1.109 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/1.117, allocations: 217 kB / 1.109 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/1.117, allocations: 12 kB / 1.109 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/1.117, allocations: 8 kB / 1.109 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/1.117, allocations: 83.38 kB / 1.109 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.117, allocations: 0 / 1.109 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/1.117, allocations: 8 kB / 1.109 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/1.117, allocations: 4 kB / 1.109 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/1.118, allocations: 49.48 kB / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/1.118, allocations: 238.5 kB / 1.11 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/1.118, allocations: 77.25 kB / 1.11 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/1.118, allocations: 69.73 kB / 1.11 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/1.118, allocations: 0 / 1.11 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/1.119, allocations: 111.8 kB / 1.11 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/1.119, allocations: 0 / 1.11 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0005369/1.119, allocations: 161.5 kB / 1.11 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/1.119, allocations: 85.11 kB / 1.11 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/1.12, allocations: 147.6 kB / 1.11 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/1.12, allocations: 33.7 kB / 1.11 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/1.12, allocations: 100.6 kB / 1.111 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/1.12, allocations: 39.53 kB / 1.111 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/1.12, allocations: 7.938 kB / 1.111 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.12, allocations: 322.8 kB / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/1.12, allocations: 44.17 kB / 1.111 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/1.121, allocations: 213.4 kB / 1.111 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/1.121, allocations: 62.09 kB / 1.111 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.121, allocations: 0 / 1.111 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004575/1.121, allocations: 176.9 kB / 1.111 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.121, allocations: 4 kB / 1.111 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.054e-05/1.121, allocations: 4 kB / 1.111 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.121, allocations: 4 kB / 1.111 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/1.121, allocations: 11.95 kB / 1.111 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.121, allocations: 4 kB / 1.111 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/1.122, allocations: 87.83 kB / 1.111 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/1.122, allocations: 8 kB / 1.111 GB, free: 7.316 MB / 0.7136 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001404/1.122, allocations: 116.9 kB / 1.112 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/1.122, allocations: 15.81 kB / 1.112 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.356e-05/1.122, allocations: 12.62 kB / 1.112 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.122, allocations: 4 kB / 1.112 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.122, allocations: 10.64 kB / 1.112 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.122, allocations: 3.984 kB / 1.112 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/1.123, allocations: 185.6 kB / 1.112 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.123, allocations: 1.594 kB / 1.112 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/1.123, allocations: 8 kB / 1.112 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.123, allocations: 0 / 1.112 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/1.123, allocations: 4 kB / 1.112 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.123, allocations: 4 kB / 1.112 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.123, allocations: 3.984 kB / 1.112 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/1.123, allocations: 221.6 kB / 1.112 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.1e-05/1.123, allocations: 85.11 kB / 1.112 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/1.123, allocations: 4 kB / 1.112 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/1.124, allocations: 7.922 kB / 1.112 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/1.124, allocations: 11.94 kB / 1.112 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/1.124, allocations: 12 kB / 1.112 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001206/1.124, allocations: 111.3 kB / 1.112 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.124, allocations: 0 / 1.112 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004972/1.124, allocations: 79.92 kB / 1.112 GB, free: 6.336 MB / 0.7136 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003786/1.125, allocations: 171.1 kB / 1.112 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003964/1.125, allocations: 163.3 kB / 1.113 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.125, allocations: 3.375 kB / 1.113 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/1.125, allocations: 43.92 kB / 1.113 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/1.125, allocations: 14.06 kB / 1.113 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/1.126, allocations: 157.2 kB / 1.113 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/1.126, allocations: 0.7004 MB / 1.114 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.931e-05/1.126, allocations: 12.66 kB / 1.114 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/1.126, allocations: 11.44 kB / 1.114 GB, free: 5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.126, allocations: 0 / 1.114 GB, free: 5 MB / 0.7136 GB Notification: Performance of Templates: time 0.007935/1.134, allocations: 2.316 MB / 1.116 GB, free: 2.77 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)