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.7981/0.7981, allocations: 132.4 MB / 139.9 MB, free: 2.809 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001261/0.001261, allocations: 179.8 kB / 171.8 MB, free: 4.934 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.294/1.294, allocations: 170.6 MB / 374.2 MB, free: 192 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00142/0.00142, allocations: 107.2 kB / 444.8 MB, free: 14.18 MB / 314.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.168/0.168, allocations: 73.42 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5496/0.7176, allocations: 101.2 MB / 0.7654 GB, free: 14.48 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.7179, allocations: 67.97 kB / 0.7655 GB, free: 14.41 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01109/0.7291, allocations: 3.359 MB / 0.7688 GB, free: 11.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.7291, allocations: 0 / 0.7688 GB, free: 11.07 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.7291, allocations: 4 kB / 0.7688 GB, free: 11.06 MB / 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.0006775/0.7298, allocations: 0.5295 MB / 0.7693 GB, free: 10.46 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.7299, allocations: 8.031 kB / 0.7693 GB, free: 10.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.73, allocations: 23.91 kB / 0.7693 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.7306, allocations: 258.1 kB / 0.7696 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.7307, allocations: 15.95 kB / 0.7696 GB, free: 10.13 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.7307, allocations: 24 kB / 0.7696 GB, free: 10.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002168/0.731, allocations: 84.78 kB / 0.7697 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.7312, allocations: 165 kB / 0.7698 GB, free: 9.844 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.7313, allocations: 0 / 0.7698 GB, free: 9.844 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.7313, allocations: 8 kB / 0.7698 GB, free: 9.836 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.7313, allocations: 0 / 0.7698 GB, free: 9.836 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.7317, allocations: 308.5 kB / 0.7701 GB, free: 9.488 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.732, allocations: 226.6 kB / 0.7703 GB, free: 9.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.7323, allocations: 183.5 kB / 0.7705 GB, free: 9.039 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.7323, allocations: 0 / 0.7705 GB, free: 9.039 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004016/0.7327, allocations: 321.5 kB / 0.7708 GB, free: 8.676 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.7327, allocations: 0 / 0.7708 GB, free: 8.676 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005622/0.7333, allocations: 285.3 kB / 0.7711 GB, free: 8.391 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.7335, allocations: 306.7 kB / 0.7714 GB, free: 8.023 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.7336, allocations: 132.9 kB / 0.7715 GB, free: 7.887 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.7337, allocations: 41.7 kB / 0.7716 GB, free: 7.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.755e-05/0.7338, allocations: 108.6 kB / 0.7717 GB, free: 7.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.7339, allocations: 55.27 kB / 0.7717 GB, free: 7.676 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.7339, allocations: 8 kB / 0.7717 GB, free: 7.668 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7341, allocations: 338.9 kB / 0.772 GB, free: 7.328 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.7344, allocations: 163.9 kB / 0.7722 GB, free: 7.168 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.7347, allocations: 203.3 kB / 0.7724 GB, free: 6.957 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.7351, allocations: 157.2 kB / 0.7725 GB, free: 6.805 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7351, allocations: 0 / 0.7725 GB, free: 6.805 MB / 474.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001158/0.7362, allocations: 0.6584 MB / 0.7732 GB, free: 6.141 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.7364, allocations: 139.4 kB / 0.7733 GB, free: 5.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7364, allocations: 0 / 0.7733 GB, free: 5.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/0.7364, allocations: 4 kB / 0.7733 GB, free: 5.977 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.7365, allocations: 11.94 kB / 0.7733 GB, free: 5.965 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.7365, allocations: 7.984 kB / 0.7733 GB, free: 5.957 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/0.7371, allocations: 99.8 kB / 0.7734 GB, free: 5.859 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.7371, allocations: 27.98 kB / 0.7735 GB, free: 5.832 MB / 474.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.0002108/0.7373, allocations: 211.4 kB / 0.7737 GB, free: 5.605 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.7374, allocations: 23.81 kB / 0.7737 GB, free: 5.582 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.7374, allocations: 16.61 kB / 0.7737 GB, free: 5.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.7374, allocations: 3.938 kB / 0.7737 GB, free: 5.566 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7375, allocations: 0 / 0.7737 GB, free: 5.566 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.7375, allocations: 4 kB / 0.7737 GB, free: 5.562 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.7377, allocations: 225.9 kB / 0.7739 GB, free: 5.305 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7377, allocations: 4 kB / 0.7739 GB, free: 5.301 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.7377, allocations: 7.953 kB / 0.7739 GB, free: 5.293 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.7378, allocations: 0 / 0.7739 GB, free: 5.293 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.7378, allocations: 19.98 kB / 0.774 GB, free: 5.273 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7378, allocations: 0 / 0.774 GB, free: 5.273 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7378, allocations: 0 / 0.774 GB, free: 5.273 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005889/0.7384, allocations: 402.3 kB / 0.7743 GB, free: 4.836 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.7385, allocations: 88.95 kB / 0.7744 GB, free: 4.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.723e-05/0.7386, allocations: 16 kB / 0.7744 GB, free: 4.715 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.7388, allocations: 39.95 kB / 0.7745 GB, free: 4.676 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.7389, allocations: 11.98 kB / 0.7745 GB, free: 4.664 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.739, allocations: 23.95 kB / 0.7745 GB, free: 4.641 MB / 474.7 MB Notification: Performance of sorting global known variables: time 8.251e-05/0.7391, allocations: 112.1 kB / 0.7746 GB, free: 4.531 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.495e-06/0.7391, allocations: 0 / 0.7746 GB, free: 4.531 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003942/0.7395, allocations: 95.86 kB / 0.7747 GB, free: 4.438 MB / 474.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.0002464/0.7397, allocations: 143.2 kB / 0.7749 GB, free: 4.285 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009732/0.7407, allocations: 0.8138 MB / 0.7756 GB, free: 3.422 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.7407, allocations: 4.125 kB / 0.7757 GB, free: 3.418 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005221/0.7412, allocations: 0.5456 MB / 0.7762 GB, free: 2.848 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.7414, allocations: 13.5 kB / 0.7762 GB, free: 2.836 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006125/0.742, allocations: 320.1 kB / 0.7765 GB, free: 2.492 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.7424, allocations: 0.7163 MB / 0.7772 GB, free: 1.746 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.982e-05/0.7424, allocations: 8.656 kB / 0.7772 GB, free: 1.738 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.7425, allocations: 19.31 kB / 0.7772 GB, free: 1.719 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7425, allocations: 0 / 0.7772 GB, free: 1.719 MB / 474.7 MB Notification: Performance of Templates: time 0.007096/0.7496, allocations: 3.539 MB / 0.7807 GB, free: 14.21 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)