Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.651/1.651, allocations: 297.8 MB / 313.7 MB, free: 160 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.0009428/0.0009429, allocations: 172.5 kB / 384.6 MB, free: 10.88 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.288/1.288, allocations: 223.2 MB / 0.6626 GB, free: 4.34 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.0007678/0.0007679, allocations: 102.6 kB / 0.7808 GB, free: 43.51 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003901, allocations: 19.98 kB / 0.9088 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5346/0.535, allocations: 120.3 MB / 1.026 GB, free: 56.4 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.7054, allocations: 141.6 MB / 1.165 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.7057, allocations: 71.97 kB / 1.165 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.129/0.8347, allocations: 46.19 MB / 1.21 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8347, allocations: 0 / 1.21 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.277e-05/0.8348, allocations: 8 kB / 1.21 GB, free: 2.316 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001561/0.8364, allocations: 0.7196 MB / 1.211 GB, free: 1.543 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.8364, allocations: 8.031 kB / 1.211 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.8367, allocations: 56.45 kB / 1.211 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009548/0.8377, allocations: 0.5455 MB / 1.211 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.8377, allocations: 32.59 kB / 1.211 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.8379, allocations: 36.38 kB / 1.211 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.8384, allocations: 306.2 kB / 1.211 GB, free: 0.5117 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.8384, allocations: 3.938 kB / 1.211 GB, free: 0.5078 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.8384, allocations: 4 kB / 1.211 GB, free: 0.5039 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.8385, allocations: 4 kB / 1.211 GB, free: 0.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/0.8388, allocations: 219.8 kB / 1.212 GB, free: 292 kB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.8408, allocations: 1.176 MB / 1.213 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006283/0.8414, allocations: 479.7 kB / 1.213 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.8417, allocations: 178.6 kB / 1.213 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.8417, allocations: 4 kB / 1.213 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004792/0.8422, allocations: 341.5 kB / 1.214 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=24): time 1.883e-06/0.8422, allocations: 0 / 1.214 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24): time 0.001051/0.8433, allocations: 0.6458 MB / 1.214 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.8434, allocations: 114.8 kB / 1.215 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007835/0.8442, allocations: 0.5916 MB / 1.215 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.8443, allocations: 41.7 kB / 1.215 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.8445, allocations: 223 kB / 1.215 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.8446, allocations: 51.5 kB / 1.215 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.8446, allocations: 7.938 kB / 1.215 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.8448, allocations: 362.8 kB / 1.216 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.845, allocations: 131.9 kB / 1.216 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008231/0.8458, allocations: 0.7211 MB / 1.217 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.8462, allocations: 305 kB / 1.217 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8462, allocations: 0 / 1.217 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006809/0.8469, allocations: 428.8 kB / 1.217 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.8469, allocations: 4 kB / 1.217 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.847, allocations: 7.938 kB / 1.217 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.847, allocations: 4 kB / 1.217 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.8472, allocations: 39.91 kB / 1.217 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.8472, allocations: 7.938 kB / 1.217 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009767/0.8482, allocations: 92.41 kB / 1.217 GB, free: 9.969 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/0.8482, allocations: 16 kB / 1.217 GB, free: 9.953 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000311/0.8485, allocations: 262 kB / 1.218 GB, free: 9.688 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.8486, allocations: 43.44 kB / 1.218 GB, free: 9.645 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-05/0.8487, allocations: 55.3 kB / 1.218 GB, free: 9.59 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.8487, allocations: 4 kB / 1.218 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8487, allocations: 4 kB / 1.218 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.8487, allocations: 0 / 1.218 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.8491, allocations: 409.3 kB / 1.218 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.8491, allocations: 0 / 1.218 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.8491, allocations: 11.92 kB / 1.218 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.8491, allocations: 4 kB / 1.218 GB, free: 9.117 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.8492, allocations: 11.94 kB / 1.218 GB, free: 9.105 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.8492, allocations: 4 kB / 1.218 GB, free: 9.102 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8492, allocations: 0 / 1.218 GB, free: 9.102 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.8498, allocations: 0.5182 MB / 1.219 GB, free: 8.559 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.85, allocations: 136.5 kB / 1.219 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.85, allocations: 11.92 kB / 1.219 GB, free: 8.395 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.8502, allocations: 19.92 kB / 1.219 GB, free: 8.375 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.8503, allocations: 39.95 kB / 1.219 GB, free: 8.336 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.8503, allocations: 16.23 kB / 1.219 GB, free: 8.32 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005075/0.8509, allocations: 431 kB / 1.219 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8509, allocations: 0 / 1.219 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005237/0.8514, allocations: 119.9 kB / 1.219 GB, free: 7.781 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002787/0.8517, allocations: 152.3 kB / 1.22 GB, free: 7.625 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005493/0.8522, allocations: 361.4 kB / 1.22 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.8522, allocations: 0 / 1.22 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.8525, allocations: 191.9 kB / 1.22 GB, free: 7.086 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.8528, allocations: 33.95 kB / 1.22 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.8541, allocations: 0.8991 MB / 1.221 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.8545, allocations: 0.8365 MB / 1.222 GB, free: 5.262 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002777/0.8547, allocations: 94.92 kB / 1.222 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.594e-05/0.8548, allocations: 35.44 kB / 1.222 GB, free: 5.129 MB / 0.7917 GB Notification: Performance of SimCode: time 3.31e-07/0.8548, allocations: 0 / 1.222 GB, free: 5.129 MB / 0.7917 GB Notification: Performance of Templates: time 0.01251/0.8674, allocations: 7.471 MB / 1.229 GB, free: 13.75 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)