Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7881/0.7881, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001007/0.001007, allocations: 176.9 kB / 182.2 MB, free: 9.457 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.368/1.368, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0008712/0.0008713, allocations: 88.06 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001671/0.001671, allocations: 272 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.301e-05/1.311e-05, allocations: 0 / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4075, allocations: 82.78 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.5419, allocations: 108.4 MB / 0.8632 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.5421, allocations: 75.83 kB / 0.8633 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01482/0.5569, allocations: 5.019 MB / 0.8682 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.313e-06/0.557, allocations: 0 / 0.8682 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.557, allocations: 4 kB / 0.8682 GB, free: 14.38 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.0006572/0.5576, allocations: 446.1 kB / 0.8686 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5577, allocations: 12.03 kB / 0.8686 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.5578, allocations: 11.91 kB / 0.8686 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.5581, allocations: 218.8 kB / 0.8688 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.5581, allocations: 3.953 kB / 0.8688 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.5582, allocations: 8 kB / 0.8688 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001188/0.5583, allocations: 39.98 kB / 0.8689 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.5585, allocations: 102.2 kB / 0.869 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5585, allocations: 0 / 0.869 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.5585, allocations: 7.984 kB / 0.869 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.5585, allocations: 0 / 0.869 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.5588, allocations: 219.9 kB / 0.8692 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.559, allocations: 107.9 kB / 0.8693 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/0.5591, allocations: 74.67 kB / 0.8694 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.5591, allocations: 3.953 kB / 0.8694 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.5593, allocations: 126.5 kB / 0.8695 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.5593, allocations: 7.875 kB / 0.8695 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0004312/0.5598, allocations: 169.5 kB / 0.8697 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.5599, allocations: 114.8 kB / 0.8698 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.56, allocations: 129 kB / 0.8699 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.56, allocations: 37.69 kB / 0.8699 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.5601, allocations: 92.7 kB / 0.87 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.5602, allocations: 47.36 kB / 0.8701 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/0.5602, allocations: 0 / 0.8701 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5603, allocations: 334.8 kB / 0.8704 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.5604, allocations: 48.28 kB / 0.8704 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.5607, allocations: 188.1 kB / 0.8706 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.5608, allocations: 88.23 kB / 0.8707 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5609, allocations: 0 / 0.8707 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003448/0.5612, allocations: 189.3 kB / 0.8709 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5612, allocations: 9.516 kB / 0.8709 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/0.5613, allocations: 11.36 kB / 0.8709 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5613, allocations: 4 kB / 0.8709 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.5614, allocations: 19.92 kB / 0.8709 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.5614, allocations: 4 kB / 0.8709 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.5616, allocations: 47.8 kB / 0.871 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.5617, allocations: 4 kB / 0.871 GB, free: 11.2 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 () * 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.0001051/0.5618, allocations: 119.4 kB / 0.8711 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.5618, allocations: 19.81 kB / 0.8711 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.5619, allocations: 20.56 kB / 0.8711 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5619, allocations: 0 / 0.8711 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.5619, allocations: 0 / 0.8711 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5619, allocations: 7.938 kB / 0.8711 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.562, allocations: 170.1 kB / 0.8713 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.5621, allocations: 3.984 kB / 0.8713 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.5621, allocations: 12 kB / 0.8713 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5621, allocations: 0 / 0.8713 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.5621, allocations: 4 kB / 0.8713 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5622, allocations: 8 kB / 0.8713 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5622, allocations: 7.953 kB / 0.8713 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.5625, allocations: 242.4 kB / 0.8715 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.5626, allocations: 85.02 kB / 0.8716 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.5626, allocations: 11.95 kB / 0.8716 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.78e-05/0.5627, allocations: 4 kB / 0.8716 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.5627, allocations: 7.984 kB / 0.8717 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.5628, allocations: 15.98 kB / 0.8717 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.656e-05/0.5628, allocations: 95.19 kB / 0.8718 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3e-07/0.5628, allocations: 0 / 0.8718 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004138/0.5633, allocations: 115.8 kB / 0.8719 GB, free: 10.17 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) * 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.000389/0.5637, allocations: 219 kB / 0.8721 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003049/0.564, allocations: 209.4 kB / 0.8723 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.564, allocations: 0 / 0.8723 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.5641, allocations: 44 kB / 0.8723 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.5642, allocations: 11.88 kB / 0.8723 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.5646, allocations: 175.1 kB / 0.8725 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.5649, allocations: 0.7123 MB / 0.8732 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.803e-05/0.565, allocations: 9.172 kB / 0.8732 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.565, allocations: 19.42 kB / 0.8732 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.565, allocations: 0 / 0.8732 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of Templates: time 0.005885/0.5709, allocations: 2.767 MB / 0.8759 GB, free: 5.984 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)