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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7623/0.7623, allocations: 140.1 MB / 156 MB, free: 5.152 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 190.5 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008622/0.0008621, allocations: 90.28 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001632/0.001633, allocations: 269.9 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004763, allocations: 16 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4127, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.5495, allocations: 107.5 MB / 0.8445 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.5497, allocations: 67.95 kB / 0.8445 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0136/0.5633, allocations: 5.014 MB / 0.8494 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5634, allocations: 0 / 0.8494 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.5634, allocations: 4 kB / 0.8494 GB, free: 13.58 MB / 0.5261 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.0006218/0.564, allocations: 466.9 kB / 0.8499 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.5641, allocations: 12.03 kB / 0.8499 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.5641, allocations: 12.84 kB / 0.8499 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.5645, allocations: 221.6 kB / 0.8501 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.5645, allocations: 8.375 kB / 0.8501 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.5645, allocations: 16.38 kB / 0.8501 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.5647, allocations: 96.78 kB / 0.8502 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.5648, allocations: 3.938 kB / 0.8502 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.5648, allocations: 3.938 kB / 0.8502 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5648, allocations: 4 kB / 0.8502 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.973e-05/0.5649, allocations: 43.97 kB / 0.8503 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.5652, allocations: 251.3 kB / 0.8505 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.5654, allocations: 115.8 kB / 0.8506 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.5655, allocations: 74.66 kB / 0.8507 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.5655, allocations: 7.938 kB / 0.8507 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.5657, allocations: 137.8 kB / 0.8508 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 1.973e-06/0.5657, allocations: 0 / 0.8508 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.0004355/0.5661, allocations: 222.1 kB / 0.851 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.5662, allocations: 122.8 kB / 0.8512 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.5664, allocations: 138.8 kB / 0.8513 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.5664, allocations: 37.7 kB / 0.8513 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.5665, allocations: 100.7 kB / 0.8514 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.5666, allocations: 51.3 kB / 0.8515 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-06/0.5666, allocations: 4 kB / 0.8515 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5667, allocations: 326.8 kB / 0.8518 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.5668, allocations: 52.25 kB / 0.8518 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.5671, allocations: 203.4 kB / 0.852 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.5673, allocations: 138.4 kB / 0.8522 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5673, allocations: 0 / 0.8522 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00031/0.5676, allocations: 205.2 kB / 0.8524 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5676, allocations: 9.25 kB / 0.8524 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.5677, allocations: 8 kB / 0.8524 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5677, allocations: 0 / 0.8524 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.5678, allocations: 19.92 kB / 0.8524 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.5678, allocations: 0 / 0.8524 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.568, allocations: 59.8 kB / 0.8525 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.568, allocations: 8.234 kB / 0.8525 GB, free: 10.12 MB / 0.5261 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.0001344/0.5682, allocations: 140 kB / 0.8526 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.5682, allocations: 15.81 kB / 0.8526 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.5683, allocations: 12.7 kB / 0.8526 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.5683, allocations: 4 kB / 0.8526 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5683, allocations: 144 / 0.8526 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5683, allocations: 7.984 kB / 0.8526 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.5685, allocations: 217.4 kB / 0.8528 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5685, allocations: 4 kB / 0.8528 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.5685, allocations: 12 kB / 0.8529 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.5685, allocations: 3.984 kB / 0.8529 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.5686, allocations: 4 kB / 0.8529 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5686, allocations: 0 / 0.8529 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5686, allocations: 3.938 kB / 0.8529 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.5689, allocations: 218.6 kB / 0.8531 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.5689, allocations: 92.86 kB / 0.8532 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.569, allocations: 8 kB / 0.8532 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.489e-05/0.569, allocations: 11.88 kB / 0.8532 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.5691, allocations: 7.984 kB / 0.8532 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.5691, allocations: 15.98 kB / 0.8532 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.069e-05/0.5692, allocations: 109 kB / 0.8533 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5692, allocations: 0 / 0.8533 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004157/0.5696, allocations: 111.9 kB / 0.8534 GB, free: 9.035 MB / 0.5261 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.0003899/0.57, allocations: 218.9 kB / 0.8536 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003164/0.5703, allocations: 213 kB / 0.8538 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5704, allocations: 0 / 0.8538 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.5705, allocations: 55.92 kB / 0.8539 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.5707, allocations: 11.98 kB / 0.8539 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.5712, allocations: 271.9 kB / 0.8542 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.5715, allocations: 0.7089 MB / 0.8548 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.225e-05/0.5715, allocations: 12.88 kB / 0.8549 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.5715, allocations: 15.44 kB / 0.8549 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of SimCode: time 3e-07/0.5716, allocations: 3.938 kB / 0.8549 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of Templates: time 0.006051/0.5776, allocations: 2.891 MB / 0.8577 GB, free: 4.598 MB / 0.5261 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)