Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.622/1.622, allocations: 297.8 MB / 313.8 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008917/0.0008918, allocations: 171 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.2 MB / 0.6626 GB, free: 4.328 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007663/0.0007665, allocations: 98.14 kB / 0.7808 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004005, allocations: 12 kB / 0.9088 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6421/0.6425, allocations: 120.3 MB / 1.026 GB, free: 56.58 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.8312, allocations: 141.6 MB / 1.165 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.8315, allocations: 75.95 kB / 1.165 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01392/0.8454, allocations: 5.074 MB / 1.17 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.255e-06/0.8455, allocations: 0 / 1.17 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.8455, allocations: 7.938 kB / 1.17 GB, free: 11.5 MB / 0.7448 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.0006168/0.8461, allocations: 462.9 kB / 1.17 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8462, allocations: 8.031 kB / 1.17 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.8463, allocations: 12.84 kB / 1.17 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.8466, allocations: 220.2 kB / 1.17 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.8466, allocations: 12.38 kB / 1.17 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.8466, allocations: 12.38 kB / 1.17 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.8468, allocations: 96.78 kB / 1.17 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.8469, allocations: 7.938 kB / 1.17 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.8469, allocations: 4 kB / 1.17 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.8469, allocations: 0 / 1.17 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.65e-05/0.847, allocations: 48.47 kB / 1.17 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.8473, allocations: 255.4 kB / 1.171 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.8475, allocations: 114.1 kB / 1.171 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/0.8476, allocations: 62.62 kB / 1.171 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.8476, allocations: 7.984 kB / 1.171 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.8478, allocations: 147 kB / 1.171 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.193e-06/0.8478, allocations: 0 / 1.171 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0004143/0.8482, allocations: 221.4 kB / 1.171 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.8483, allocations: 114.8 kB / 1.171 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.8484, allocations: 151.8 kB / 1.171 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.8485, allocations: 33.7 kB / 1.172 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.8485, allocations: 100.7 kB / 1.172 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.8486, allocations: 59.28 kB / 1.172 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-06/0.8486, allocations: 4 kB / 1.172 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.8487, allocations: 322.8 kB / 1.172 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.196e-05/0.8488, allocations: 52.25 kB / 1.172 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.8491, allocations: 197.2 kB / 1.172 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.8493, allocations: 133.2 kB / 1.172 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.8493, allocations: 4 kB / 1.172 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002947/0.8496, allocations: 203.4 kB / 1.173 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.8496, allocations: 4 kB / 1.173 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.8496, allocations: 11.98 kB / 1.173 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.8496, allocations: 4 kB / 1.173 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.8497, allocations: 19.94 kB / 1.173 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.8498, allocations: 0 / 1.173 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.8499, allocations: 51.86 kB / 1.173 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.85, allocations: 11.98 kB / 1.173 GB, free: 8.055 MB / 0.7448 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.0001231/0.8501, allocations: 147.7 kB / 1.173 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.8501, allocations: 11.81 kB / 1.173 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.8502, allocations: 20.64 kB / 1.173 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.8502, allocations: 0 / 1.173 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8502, allocations: 4 kB / 1.173 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8502, allocations: 0 / 1.173 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.8504, allocations: 213.5 kB / 1.173 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8504, allocations: 3.938 kB / 1.173 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.8505, allocations: 12 kB / 1.173 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.8505, allocations: 4 kB / 1.173 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.8505, allocations: 3.984 kB / 1.173 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.8505, allocations: 4 kB / 1.173 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8505, allocations: 0 / 1.173 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.8508, allocations: 221.3 kB / 1.173 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.8508, allocations: 92.94 kB / 1.173 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.8509, allocations: 4 kB / 1.173 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.8509, allocations: 11.94 kB / 1.173 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.851, allocations: 7.984 kB / 1.173 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.851, allocations: 4 kB / 1.173 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.234e-05/0.8511, allocations: 109.3 kB / 1.173 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8511, allocations: 0 / 1.173 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000375/0.8515, allocations: 123.9 kB / 1.174 GB, free: 6.988 MB / 0.7448 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.0003377/0.8518, allocations: 215.5 kB / 1.174 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.8521, allocations: 225.1 kB / 1.174 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.8521, allocations: 0 / 1.174 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.8522, allocations: 55.86 kB / 1.174 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.8524, allocations: 9.547 kB / 1.174 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.8529, allocations: 278.1 kB / 1.174 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.8532, allocations: 0.7204 MB / 1.175 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.575e-05/0.8532, allocations: 8.891 kB / 1.175 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.8532, allocations: 15.42 kB / 1.175 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of SimCode: time 4.3e-07/0.8533, allocations: 0 / 1.175 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of Templates: time 0.005711/0.859, allocations: 2.875 MB / 1.178 GB, free: 2.582 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)