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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.2324/0.2346, allocations: 80.84 MB / 0.6706 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.00328/0.2379, allocations: 1.442 MB / 0.672 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009787/0.2389, allocations: 391 kB / 0.6724 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.239, allocations: 0 / 0.6724 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.2392, allocations: 11.86 kB / 0.6724 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.2394, allocations: 23.84 kB / 0.6724 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007505/0.2402, allocations: 241.1 kB / 0.6726 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000459/0.2406, allocations: 355.6 kB / 0.673 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.835e-05/0.2407, allocations: 16.16 kB / 0.673 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.2409, allocations: 139.7 kB / 0.6731 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.2412, allocations: 115.7 kB / 0.6732 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.787e-05/0.2413, allocations: 32 kB / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.2414, allocations: 51.98 kB / 0.6733 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.2415, allocations: 23.86 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.2416, allocations: 115.7 kB / 0.6735 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.242, allocations: 251.4 kB / 0.6737 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.242, allocations: 0 / 0.6737 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.731e-06/0.242, allocations: 3.984 kB / 0.6737 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.209e-05/0.2421, allocations: 0 / 0.6737 GB, free: 14.86 MB / 0.5137 GB 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.0009201/0.243, allocations: 0.5875 MB / 0.6743 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.021e-05/0.2431, allocations: 8.031 kB / 0.6743 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.2432, allocations: 36.78 kB / 0.6743 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.2436, allocations: 232.1 kB / 0.6745 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.2436, allocations: 16.38 kB / 0.6746 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.2437, allocations: 20.38 kB / 0.6746 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.2441, allocations: 192.9 kB / 0.6748 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2441, allocations: 192 / 0.6748 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.2441, allocations: 11.94 kB / 0.6748 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2442, allocations: 4 kB / 0.6748 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.2443, allocations: 91.89 kB / 0.6749 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.2448, allocations: 339.9 kB / 0.6752 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.2451, allocations: 230.5 kB / 0.6754 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.2453, allocations: 191.5 kB / 0.6756 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.2453, allocations: 4 kB / 0.6756 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004982/0.2458, allocations: 333.4 kB / 0.6759 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=24): time 1.182e-06/0.2458, allocations: 0 / 0.6759 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24): time 0.0008334/0.2467, allocations: 481.2 kB / 0.6764 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002269/0.2469, allocations: 310.7 kB / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.2471, allocations: 153.6 kB / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.2471, allocations: 45.69 kB / 0.6769 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.2472, allocations: 104.9 kB / 0.677 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.2473, allocations: 63.19 kB / 0.677 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.2475, allocations: 89.67 kB / 0.6771 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2477, allocations: 330.8 kB / 0.6774 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/0.248, allocations: 183.9 kB / 0.6776 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.2483, allocations: 231.3 kB / 0.6778 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.2488, allocations: 445 kB / 0.6782 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2488, allocations: 0 / 0.6782 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001177/0.25, allocations: 0.8201 MB / 0.679 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.2502, allocations: 150.8 kB / 0.6792 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2502, allocations: 3.938 kB / 0.6792 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.2502, allocations: 8.047 kB / 0.6792 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.2504, allocations: 8 kB / 0.6792 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2504, allocations: 0 / 0.6792 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.251, allocations: 91.73 kB / 0.6793 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/0.251, allocations: 23.98 kB / 0.6793 GB, free: 8.594 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.iPerSto,$PRE.occSchDay.iPerSto,occSchDay.iPerSta,$PRE.occSchDay.iPerSta,occSchDay.nexStoInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStaInd,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition4,$whenCondition3,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.iPerSto,$PRE.occSchWee.iPerSto,occSchWee.iPerSta,$PRE.occSchWee.iPerSta,occSchWee.nexStoInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStaInd,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002732/0.2513, allocations: 243.8 kB / 0.6795 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.2514, allocations: 27.75 kB / 0.6796 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.2514, allocations: 16.7 kB / 0.6796 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2515, allocations: 0 / 0.6796 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.2515, allocations: 4 kB / 0.6796 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2515, allocations: 0 / 0.6796 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.2518, allocations: 261.3 kB / 0.6798 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2518, allocations: 0 / 0.6798 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.2518, allocations: 8 kB / 0.6798 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.2518, allocations: 7.938 kB / 0.6798 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.2519, allocations: 19.97 kB / 0.6799 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.2519, allocations: 7.922 kB / 0.6799 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2519, allocations: 3.938 kB / 0.6799 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.2526, allocations: 474.6 kB / 0.6803 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.2526, allocations: 96.94 kB / 0.6804 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.2527, allocations: 19.94 kB / 0.6804 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.253, allocations: 27.97 kB / 0.6805 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.253, allocations: 19.92 kB / 0.6805 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.2531, allocations: 15.98 kB / 0.6805 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.817e-05/0.2532, allocations: 113.8 kB / 0.6806 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2532, allocations: 0 / 0.6806 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003347/0.2535, allocations: 88 kB / 0.6807 GB, free: 7.031 MB / 0.5137 GB 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) * Number of clocked states: 0 () * 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 (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.000246/0.2538, allocations: 147 kB / 0.6808 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.2549, allocations: 0.8654 MB / 0.6817 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2549, allocations: 4 kB / 0.6817 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000559/0.2555, allocations: 0.569 MB / 0.6822 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.2557, allocations: 32.31 kB / 0.6823 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009113/0.2567, allocations: 397.8 kB / 0.6827 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.2571, allocations: 0.7121 MB / 0.6833 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.2571, allocations: 13.03 kB / 0.6834 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.2571, allocations: 15.44 kB / 0.6834 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2572, allocations: 3.938 kB / 0.6834 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of Templates: time 0.009337/0.2665, allocations: 4.312 MB / 0.6876 GB, free: 15.87 MB / 0.5294 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)