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.6735/0.6735, allocations: 132.3 MB / 144.9 MB, free: 10.55 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.001049/0.001049, allocations: 171.6 kB / 176.9 MB, free: 2.277 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.172/1.172, allocations: 170.5 MB / 379.3 MB, free: 11.93 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.001523/0.001523, allocations: 107.3 kB / 450 MB, free: 5.848 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.4143/0.4144, allocations: 73.38 MB / 0.6736 GB, free: 47.63 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.546, allocations: 101.8 MB / 0.773 GB, free: 14.86 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.5463, allocations: 68.91 kB / 0.7731 GB, free: 14.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009598/0.5559, allocations: 3.382 MB / 0.7764 GB, free: 11.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5559, allocations: 0 / 0.7764 GB, free: 11.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.5559, allocations: 4 kB / 0.7764 GB, free: 11.46 MB / 490.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.0004212/0.5563, allocations: 0.5311 MB / 0.7769 GB, free: 10.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.5564, allocations: 8.031 kB / 0.7769 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/0.5565, allocations: 27.81 kB / 0.777 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.5569, allocations: 257.6 kB / 0.7772 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.557, allocations: 12 kB / 0.7772 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.5571, allocations: 35.97 kB / 0.7773 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.5573, allocations: 177.9 kB / 0.7774 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.5574, allocations: 2.812 kB / 0.7774 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.5574, allocations: 4 kB / 0.7774 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5574, allocations: 4 kB / 0.7774 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.5576, allocations: 91.91 kB / 0.7775 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.5579, allocations: 336.1 kB / 0.7779 GB, free: 9.824 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.5582, allocations: 242.4 kB / 0.7781 GB, free: 9.551 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.5584, allocations: 179.5 kB / 0.7783 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.5584, allocations: 0 / 0.7783 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.5587, allocations: 333.5 kB / 0.7786 GB, free: 8.988 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 1.202e-06/0.5587, allocations: 0 / 0.7786 GB, free: 8.988 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005659/0.5593, allocations: 363 kB / 0.7789 GB, free: 8.617 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.5595, allocations: 322.8 kB / 0.7792 GB, free: 8.234 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.5596, allocations: 138.4 kB / 0.7794 GB, free: 8.094 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.5596, allocations: 41.7 kB / 0.7794 GB, free: 8.047 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.5597, allocations: 104.6 kB / 0.7795 GB, free: 7.941 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.942e-05/0.5598, allocations: 67.23 kB / 0.7796 GB, free: 7.875 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.5598, allocations: 12 kB / 0.7796 GB, free: 7.863 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.56, allocations: 322.8 kB / 0.7799 GB, free: 7.539 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.5602, allocations: 191.9 kB / 0.7801 GB, free: 7.352 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.5605, allocations: 224.3 kB / 0.7803 GB, free: 7.121 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.5608, allocations: 279.3 kB / 0.7805 GB, free: 6.824 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5608, allocations: 3.938 kB / 0.7805 GB, free: 6.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001016/0.5619, allocations: 0.8064 MB / 0.7813 GB, free: 5.984 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.797e-05/0.562, allocations: 138.8 kB / 0.7815 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.562, allocations: 0 / 0.7815 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.562, allocations: 4 kB / 0.7815 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.5621, allocations: 14.83 kB / 0.7815 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5621, allocations: 0 / 0.7815 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.5626, allocations: 111.6 kB / 0.7816 GB, free: 5.699 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.5626, allocations: 29.17 kB / 0.7816 GB, free: 5.672 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.0001613/0.5628, allocations: 215.4 kB / 0.7818 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.5628, allocations: 19.91 kB / 0.7818 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.5629, allocations: 24.55 kB / 0.7819 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.5629, allocations: 3.938 kB / 0.7819 GB, free: 5.398 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.601e-05/0.5629, allocations: 4 kB / 0.7819 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5629, allocations: 0 / 0.7819 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.5631, allocations: 261.3 kB / 0.7821 GB, free: 5.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5631, allocations: 4 kB / 0.7821 GB, free: 5.086 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/0.5632, allocations: 4 kB / 0.7821 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5632, allocations: 0 / 0.7821 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.5632, allocations: 18.23 kB / 0.7821 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5632, allocations: 0 / 0.7821 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5632, allocations: 4 kB / 0.7822 GB, free: 5.062 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.5638, allocations: 499.7 kB / 0.7826 GB, free: 4.516 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.5639, allocations: 92.92 kB / 0.7827 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.5639, allocations: 16 kB / 0.7827 GB, free: 4.391 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.5642, allocations: 39.95 kB / 0.7828 GB, free: 4.352 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.5642, allocations: 15.94 kB / 0.7828 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.5643, allocations: 19.98 kB / 0.7828 GB, free: 4.316 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.636e-05/0.5643, allocations: 116.1 kB / 0.7829 GB, free: 4.203 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5643, allocations: 3.938 kB / 0.7829 GB, free: 4.199 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.5646, allocations: 95.94 kB / 0.783 GB, free: 4.105 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.0001695/0.5648, allocations: 140.2 kB / 0.7831 GB, free: 3.961 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008399/0.5657, allocations: 0.857 MB / 0.784 GB, free: 3.059 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5657, allocations: 0 / 0.784 GB, free: 3.059 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.5661, allocations: 0.5576 MB / 0.7845 GB, free: 2.477 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.5662, allocations: 8 kB / 0.7845 GB, free: 2.469 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.5668, allocations: 328.4 kB / 0.7848 GB, free: 2.117 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.5671, allocations: 0.7281 MB / 0.7856 GB, free: 1.363 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.173e-05/0.5671, allocations: 4.672 kB / 0.7856 GB, free: 1.355 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.5671, allocations: 11.44 kB / 0.7856 GB, free: 1.344 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5671, allocations: 0 / 0.7856 GB, free: 1.344 MB / 490.7 MB Notification: Performance of Templates: time 0.005974/0.5731, allocations: 3.66 MB / 0.7891 GB, free: 13.81 MB / 0.4948 GB 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)