Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.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.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.609/1.609, allocations: 297.8 MB / 313.7 MB, free: 152 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.0009565/0.0009565, allocations: 180.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.283/1.283, allocations: 223.2 MB / 0.6626 GB, free: 4.281 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.0007973/0.0007972, allocations: 94.67 kB / 0.7808 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003866, allocations: 15.98 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5921/0.5925, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.7566, allocations: 141.6 MB / 1.165 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.7569, allocations: 73.03 kB / 1.165 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1259/0.8829, allocations: 46.19 MB / 1.21 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8829, allocations: 0 / 1.21 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.791e-05/0.8829, allocations: 8 kB / 1.21 GB, free: 6.297 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.001148/0.8841, allocations: 0.7224 MB / 1.211 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.8842, allocations: 12.03 kB / 1.211 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.8843, allocations: 52.45 kB / 1.211 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.8851, allocations: 0.549 MB / 1.211 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.8851, allocations: 32.59 kB / 1.211 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-05/0.8853, allocations: 40.38 kB / 1.211 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/0.8857, allocations: 302.2 kB / 1.211 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.8857, allocations: 7.938 kB / 1.211 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.8857, allocations: 0 / 1.211 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.8857, allocations: 4 kB / 1.211 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.8861, allocations: 223.8 kB / 1.212 GB, free: 4.266 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.8878, allocations: 1.183 MB / 1.213 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005574/0.8883, allocations: 471.7 kB / 1.213 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.8886, allocations: 182.6 kB / 1.213 GB, free: 2.352 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.8886, allocations: 0 / 1.213 GB, free: 2.352 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004202/0.889, allocations: 341.6 kB / 1.214 GB, free: 2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=24): time 1.372e-06/0.889, allocations: 0 / 1.214 GB, free: 2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.0009511/0.89, allocations: 0.6413 MB / 1.214 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.8901, allocations: 118.8 kB / 1.215 GB, free: 1.211 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006576/0.8907, allocations: 0.5916 MB / 1.215 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/0.8908, allocations: 45.7 kB / 1.215 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.891, allocations: 227.4 kB / 1.215 GB, free: 340 kB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.8911, allocations: 51.41 kB / 1.215 GB, free: 288 kB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.8911, allocations: 8 kB / 1.215 GB, free: 280 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8912, allocations: 354.8 kB / 1.216 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.8914, allocations: 131.9 kB / 1.216 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006846/0.8921, allocations: 0.7288 MB / 1.217 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.8924, allocations: 299.5 kB / 1.217 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.8925, allocations: 4 kB / 1.217 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005769/0.893, allocations: 427 kB / 1.217 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.8931, allocations: 8 kB / 1.217 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.8931, allocations: 7.938 kB / 1.217 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.8931, allocations: 4 kB / 1.217 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.8933, allocations: 35.91 kB / 1.217 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.8933, allocations: 7.938 kB / 1.217 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009537/0.8943, allocations: 92.5 kB / 1.217 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.8943, allocations: 20 kB / 1.217 GB, free: 13.95 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.0002882/0.8946, allocations: 263.3 kB / 1.218 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.8947, allocations: 39.44 kB / 1.218 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.025e-05/0.8948, allocations: 59.3 kB / 1.218 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.8948, allocations: 5.812 kB / 1.218 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.8948, allocations: 0 / 1.218 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8948, allocations: 0 / 1.218 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.8952, allocations: 413.3 kB / 1.218 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8952, allocations: 0 / 1.218 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.8952, allocations: 11.92 kB / 1.218 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8952, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.8952, allocations: 11.94 kB / 1.218 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.8953, allocations: 4 kB / 1.218 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.8953, allocations: 0 / 1.218 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006237/0.8959, allocations: 0.5206 MB / 1.219 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.896, allocations: 136.5 kB / 1.219 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.8961, allocations: 13.42 kB / 1.219 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.8962, allocations: 23.98 kB / 1.219 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.8963, allocations: 27.91 kB / 1.219 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.8963, allocations: 23.97 kB / 1.219 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000445/0.8968, allocations: 431 kB / 1.219 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8968, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004989/0.8973, allocations: 123.9 kB / 1.219 GB, free: 11.77 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.00022/0.8975, allocations: 146 kB / 1.22 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004805/0.898, allocations: 358.5 kB / 1.22 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.898, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.8983, allocations: 189.2 kB / 1.22 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.8986, allocations: 40.95 kB / 1.22 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.8997, allocations: 0.8906 MB / 1.221 GB, free: 10.13 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.9001, allocations: 0.8431 MB / 1.222 GB, free: 9.262 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002608/0.9003, allocations: 95.91 kB / 1.222 GB, free: 9.168 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.9004, allocations: 35.44 kB / 1.222 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of SimCode: time 2.61e-07/0.9004, allocations: 0 / 1.222 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of Templates: time 0.01126/0.9117, allocations: 7.477 MB / 1.229 GB, free: 1.844 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)