Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.531/1.531, allocations: 287.4 MB / 302.5 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 179.1 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008539/0.0008538, allocations: 85.3 kB / 0.7431 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003912, allocations: 10.16 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1723, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001133/0.1735, allocations: 1.136 MB / 0.9798 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006217/0.1741, allocations: 458.9 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.1742, allocations: 0 / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.816e-05/0.1743, allocations: 11.92 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.333e-05/0.1743, allocations: 3.938 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.175, allocations: 202.2 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.1752, allocations: 119.8 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.1752, allocations: 7.969 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/0.1753, allocations: 55.84 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.911e-05/0.1753, allocations: 39.84 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.1754, allocations: 8 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.1756, allocations: 147.8 kB / 0.9808 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.1757, allocations: 35.91 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.1757, allocations: 49.62 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.1759, allocations: 156 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1759, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1759, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.1759, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 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.0003968/0.1763, allocations: 423.2 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1764, allocations: 8.031 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.1764, allocations: 34.75 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1765, allocations: 16.75 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1766, allocations: 214 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1767, allocations: 12.36 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1767, allocations: 8.375 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1768, allocations: 83.89 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1768, allocations: 3.938 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1768, allocations: 3.984 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1769, allocations: 4 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.31e-05/0.1769, allocations: 39.98 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.1771, allocations: 238.4 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.336e-05/0.1772, allocations: 77.23 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.661e-05/0.1772, allocations: 57.75 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.1773, allocations: 4 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.1774, allocations: 118 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.1774, allocations: 0 / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0002687/0.1777, allocations: 177.5 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.1777, allocations: 89.09 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.601e-05/0.1778, allocations: 149.7 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1778, allocations: 41.69 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.1779, allocations: 96.52 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.1779, allocations: 35.48 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.1779, allocations: 8 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.233e-05/0.178, allocations: 322.8 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-05/0.178, allocations: 39.98 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1782, allocations: 199.3 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.1783, allocations: 93.69 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1783, allocations: 3.938 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001779/0.1785, allocations: 169.3 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1785, allocations: 4 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.1785, allocations: 4 kB / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1785, allocations: 0 / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.1786, allocations: 8 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1786, allocations: 0 / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.1789, allocations: 95.73 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1789, allocations: 4 kB / 0.9838 GB, free: 22.53 MB / 0.6198 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 () * Number of clocked 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 8.487e-05/0.179, allocations: 147.1 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.179, allocations: 15.75 kB / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.1791, allocations: 16.7 kB / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1791, allocations: 0 / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1791, allocations: 0 / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1791, allocations: 0 / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.974e-05/0.1792, allocations: 193.6 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1792, allocations: 0 / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.1792, allocations: 4 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1792, allocations: 0 / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1792, allocations: 12 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1793, allocations: 0 / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1793, allocations: 3.938 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.1794, allocations: 194.4 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.1795, allocations: 96.84 kB / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1795, allocations: 0 / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.106e-05/0.1795, allocations: 8 kB / 0.9845 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.1796, allocations: 7.984 kB / 0.9845 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1796, allocations: 4 kB / 0.9845 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.805e-05/0.1796, allocations: 117.3 kB / 0.9846 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1796, allocations: 0 / 0.9846 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002485/0.1799, allocations: 64 kB / 0.9847 GB, free: 21.57 MB / 0.6198 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) * Number of clocked states: 0 () * 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.00042/0.1803, allocations: 0.7791 MB / 0.9854 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.1805, allocations: 167.4 kB / 0.9856 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1805, allocations: 0 / 0.9856 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.1806, allocations: 51.86 kB / 0.9856 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.1808, allocations: 8.188 kB / 0.9857 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008698/0.1816, allocations: 0.8071 MB / 0.9864 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.1818, allocations: 0.7199 MB / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.1818, allocations: 4.672 kB / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.1818, allocations: 31.36 kB / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1818, allocations: 0 / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3564/0.5382, allocations: 3.619 MB / 0.9907 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001171/0.5384, allocations: 196.3 kB / 0.9909 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.419, allocations: 0 / 0.9909 GB, free: 15.18 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)