Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.9014/0.9014, allocations: 132.4 MB / 139.9 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001031/0.001031, allocations: 170.4 kB / 171.8 MB, free: 2.008 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.35/1.35, allocations: 170.6 MB / 374.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001695/0.001695, allocations: 107.2 kB / 444.8 MB, free: 9.297 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4923/0.4923, allocations: 73.39 MB / 0.6666 GB, free: 47.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.6396, allocations: 101.2 MB / 0.7654 GB, free: 3.656 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.64, allocations: 73.16 kB / 0.7655 GB, free: 3.586 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01061/0.6506, allocations: 3.366 MB / 0.7688 GB, free: 288 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6506, allocations: 0 / 0.7688 GB, free: 288 kB / 474.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.6506, allocations: 0 / 0.7688 GB, free: 288 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006862/0.6513, allocations: 0.5309 MB / 0.7693 GB, free: 15.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.6514, allocations: 8.031 kB / 0.7693 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.6515, allocations: 23.91 kB / 0.7693 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.6521, allocations: 266.3 kB / 0.7696 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.6522, allocations: 8.656 kB / 0.7696 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.6523, allocations: 20 kB / 0.7696 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002154/0.6525, allocations: 88.86 kB / 0.7697 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.6528, allocations: 171.4 kB / 0.7698 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.6528, allocations: 4 kB / 0.7698 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.6528, allocations: 4 kB / 0.7698 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6528, allocations: 0 / 0.7698 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.6533, allocations: 305.1 kB / 0.7701 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.6536, allocations: 226.6 kB / 0.7704 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.6538, allocations: 179.5 kB / 0.7705 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.6538, allocations: 8 kB / 0.7705 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.6542, allocations: 320.2 kB / 0.7708 GB, free: 13.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 1.844e-06/0.6542, allocations: 0 / 0.7708 GB, free: 13.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.000595/0.6548, allocations: 271 kB / 0.7711 GB, free: 13.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002354/0.655, allocations: 322.6 kB / 0.7714 GB, free: 13.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.6552, allocations: 132.9 kB / 0.7715 GB, free: 13.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.6553, allocations: 41.7 kB / 0.7716 GB, free: 13.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.6554, allocations: 104.6 kB / 0.7717 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/0.6555, allocations: 67.17 kB / 0.7717 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.6556, allocations: 9.219 kB / 0.7717 GB, free: 12.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6557, allocations: 326.8 kB / 0.7721 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.656, allocations: 171.9 kB / 0.7722 GB, free: 12.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.6564, allocations: 203.4 kB / 0.7724 GB, free: 12.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.6568, allocations: 149 kB / 0.7726 GB, free: 12.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.6568, allocations: 3.953 kB / 0.7726 GB, free: 12.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00124/0.658, allocations: 0.6472 MB / 0.7732 GB, free: 11.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.6582, allocations: 138.8 kB / 0.7733 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.6582, allocations: 0 / 0.7733 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.6582, allocations: 4 kB / 0.7733 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.6584, allocations: 11.98 kB / 0.7733 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.6584, allocations: 7.734 kB / 0.7733 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.659, allocations: 103.7 kB / 0.7734 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.6591, allocations: 27.98 kB / 0.7735 GB, free: 11.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * 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.0002364/0.6593, allocations: 209.4 kB / 0.7737 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.6594, allocations: 35.77 kB / 0.7737 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.6594, allocations: 12.61 kB / 0.7737 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.6595, allocations: 5.953 kB / 0.7737 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6595, allocations: 0 / 0.7737 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.6595, allocations: 4 kB / 0.7737 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.6598, allocations: 226 kB / 0.7739 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.6598, allocations: 0 / 0.7739 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.6598, allocations: 11.92 kB / 0.774 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.6599, allocations: 7.953 kB / 0.774 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.6599, allocations: 12 kB / 0.774 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.6599, allocations: 9.969 kB / 0.774 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.6599, allocations: 3.938 kB / 0.774 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006406/0.6606, allocations: 393.2 kB / 0.7744 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.6607, allocations: 89.02 kB / 0.7744 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.6607, allocations: 12 kB / 0.7745 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.6611, allocations: 39.95 kB / 0.7745 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.6612, allocations: 11.98 kB / 0.7745 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.6612, allocations: 21.11 kB / 0.7745 GB, free: 9.879 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.185e-05/0.6613, allocations: 112.8 kB / 0.7746 GB, free: 9.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6613, allocations: 0 / 0.7746 GB, free: 9.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003518/0.6617, allocations: 91.94 kB / 0.7747 GB, free: 9.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc) * Number of discrete states: 18 (occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,$whenCondition2,occSchWee.tOcc,occSchWee.iPerSta,occSchWee.occupied,occSchWee.nexStaInd,$whenCondition1,occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,$whenCondition4,occSchDay.tOcc,occSchDay.iPerSta,occSchDay.occupied,occSchDay.nexStaInd,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0002264/0.6619, allocations: 149.2 kB / 0.7749 GB, free: 9.523 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009442/0.6629, allocations: 0.8138 MB / 0.7757 GB, free: 8.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6629, allocations: 0 / 0.7757 GB, free: 8.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004848/0.6634, allocations: 0.5496 MB / 0.7762 GB, free: 8.086 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.6636, allocations: 16.66 kB / 0.7762 GB, free: 8.074 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005993/0.6642, allocations: 307.5 kB / 0.7765 GB, free: 7.746 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.6645, allocations: 0.7163 MB / 0.7772 GB, free: 7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.774e-05/0.6645, allocations: 8.672 kB / 0.7772 GB, free: 6.992 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.6646, allocations: 11.44 kB / 0.7772 GB, free: 6.98 MB / 490.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6646, allocations: 0 / 0.7772 GB, free: 6.98 MB / 490.7 MB Notification: Performance of Templates: time 0.008965/0.6735, allocations: 3.557 MB / 0.7807 GB, free: 3.559 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)