Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7911/0.7911, allocations: 143.4 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 177.1 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 447.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008885/0.0008885, allocations: 103.8 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 269.8 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004282, allocations: 13.28 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1417, allocations: 82.79 MB / 0.7737 GB, free: 13.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.2798, allocations: 109 MB / 0.8802 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.28, allocations: 73.94 kB / 0.8803 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2955/0.5756, allocations: 5.055 MB / 0.8852 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.407e-06/0.5756, allocations: 0.5156 kB / 0.8852 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.5756, allocations: 0 / 0.8852 GB, free: 108.9 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006298/0.5763, allocations: 468 kB / 0.8856 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.5763, allocations: 8.797 kB / 0.8857 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.5764, allocations: 16.16 kB / 0.8857 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.5767, allocations: 217.5 kB / 0.8859 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.5767, allocations: 11.3 kB / 0.8859 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.5767, allocations: 9.812 kB / 0.8859 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.577, allocations: 103.1 kB / 0.886 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.577, allocations: 6.844 kB / 0.886 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.577, allocations: 0 / 0.886 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.577, allocations: 4.75 kB / 0.886 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.5771, allocations: 54 kB / 0.8861 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.5774, allocations: 251 kB / 0.8863 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.5776, allocations: 115 kB / 0.8864 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.5776, allocations: 7.359 kB / 0.8864 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/0.5778, allocations: 131.6 kB / 0.8865 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.5779, allocations: 3.938 kB / 0.8865 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0005415/0.5784, allocations: 463.5 kB / 0.887 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.5785, allocations: 120.7 kB / 0.8871 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.5786, allocations: 128.4 kB / 0.8872 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.5786, allocations: 36.05 kB / 0.8873 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.5787, allocations: 99.98 kB / 0.8874 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.5788, allocations: 56.67 kB / 0.8874 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.507e-06/0.5788, allocations: 4.812 kB / 0.8874 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.5789, allocations: 327.8 kB / 0.8877 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.056e-05/0.579, allocations: 48.98 kB / 0.8878 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.5792, allocations: 207 kB / 0.888 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.5793, allocations: 82.14 kB / 0.888 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5793, allocations: 0.6562 kB / 0.888 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002659/0.5796, allocations: 201.1 kB / 0.8882 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5796, allocations: 8.203 kB / 0.8882 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/0.5796, allocations: 6.719 kB / 0.8883 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5796, allocations: 2.875 kB / 0.8883 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.5797, allocations: 10.44 kB / 0.8883 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.5798, allocations: 3.672 kB / 0.8883 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.58, allocations: 61.2 kB / 0.8883 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.58, allocations: 10.5 kB / 0.8883 GB, free: 106.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001133/0.5801, allocations: 136.3 kB / 0.8885 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.5802, allocations: 14.41 kB / 0.8885 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.5802, allocations: 16.8 kB / 0.8885 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5802, allocations: 2.906 kB / 0.8885 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5802, allocations: 0.5625 kB / 0.8885 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.5802, allocations: 0.6562 kB / 0.8885 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.5804, allocations: 209 kB / 0.8887 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5804, allocations: 3 kB / 0.8887 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.5805, allocations: 11.25 kB / 0.8887 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5805, allocations: 3.109 kB / 0.8887 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.5805, allocations: 7.516 kB / 0.8887 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.5805, allocations: 1.078 kB / 0.8887 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5805, allocations: 7.016 kB / 0.8887 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.5808, allocations: 247.5 kB / 0.889 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.5809, allocations: 94.25 kB / 0.8891 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.5809, allocations: 7.891 kB / 0.8891 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.08e-05/0.581, allocations: 15.58 kB / 0.8891 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.581, allocations: 9.594 kB / 0.8891 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.581, allocations: 9.266 kB / 0.8891 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.322e-05/0.5811, allocations: 103.1 kB / 0.8892 GB, free: 106 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5811, allocations: 0 / 0.8892 GB, free: 106 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004743/0.5816, allocations: 118.9 kB / 0.8893 GB, free: 106 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002871/0.5819, allocations: 213.2 kB / 0.8895 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.5822, allocations: 220.5 kB / 0.8897 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5822, allocations: 0 / 0.8897 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.5823, allocations: 56.92 kB / 0.8898 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.5824, allocations: 14.84 kB / 0.8898 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.5828, allocations: 269.3 kB / 0.8901 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.583, allocations: 0.7145 MB / 0.8907 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.6e-05/0.5831, allocations: 11.16 kB / 0.8908 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.5831, allocations: 14.73 kB / 0.8908 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.5831, allocations: 0 / 0.8908 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.006067/0.5892, allocations: 2.841 MB / 0.8935 GB, free: 104.6 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)