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 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0-master/package.mo): time 2.42/2.42, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001372, allocations: 183.5 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.711/1.711, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 110.4 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 53.59 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.338, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002423/0.3405, allocations: 0.9093 MB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.3426, allocations: 1.468 MB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.3428, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.3433, allocations: 187.6 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.3435, allocations: 107.7 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.3446, allocations: 321.9 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0009427/0.3455, allocations: 0.7683 MB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.3458, allocations: 96.23 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005564/0.3464, allocations: 299.4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/0.3469, allocations: 247.3 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.3471, allocations: 20 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.3475, allocations: 75.94 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004293/0.348, allocations: 307.3 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004197/0.3484, allocations: 242.8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.3494, allocations: 0.8863 MB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3495, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3495, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.247e-05/0.3495, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 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.002128/0.3516, allocations: 0.8802 MB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.3517, allocations: 15.98 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.352, allocations: 56.36 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/0.3529, allocations: 0.537 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.353, allocations: 32.59 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.3531, allocations: 40.31 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.3535, allocations: 304.4 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3535, allocations: 4 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.3536, allocations: 8 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3536, allocations: 0 / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.3539, allocations: 223.8 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.3558, allocations: 1.184 MB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.3563, allocations: 467.7 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.3564, allocations: 182.6 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3565, allocations: 4 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003625/0.3568, allocations: 341.4 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=24): time 2.214e-06/0.3569, allocations: 0 / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=24): time 0.0009632/0.3578, allocations: 0.6218 MB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.3579, allocations: 122.7 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/0.3586, allocations: 0.5993 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.3587, allocations: 45.7 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.3589, allocations: 218.6 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.359, allocations: 51.34 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.3592, allocations: 185.5 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3594, allocations: 362.8 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.3595, allocations: 123.9 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008141/0.3604, allocations: 0.7173 MB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.3607, allocations: 316.5 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3607, allocations: 0 / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006318/0.3614, allocations: 417 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3614, allocations: 7.938 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3614, allocations: 4 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.3614, allocations: 11.98 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.3616, allocations: 31.92 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3616, allocations: 4 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.3629, allocations: 140.4 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.363, allocations: 16 kB / 1.232 GB, free: 102.6 MB / 0.823 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.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000325/0.3633, allocations: 258.3 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.3634, allocations: 43.38 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.847e-05/0.3635, allocations: 55.36 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.3635, allocations: 8 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.3635, allocations: 256 / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3635, allocations: 0 / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.3639, allocations: 409.3 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3639, allocations: 0 / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.3639, allocations: 8 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3639, allocations: 3.938 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.3639, allocations: 7.984 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3639, allocations: 7.938 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3639, allocations: 0 / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009841/0.3649, allocations: 1.349 MB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.3651, allocations: 120.6 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.3652, allocations: 8 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.3654, allocations: 11.98 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.3655, allocations: 39.89 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.3655, allocations: 16 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004244/0.3659, allocations: 431.1 kB / 1.235 GB, free: 99.71 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3659, allocations: 0 / 1.235 GB, free: 99.71 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006122/0.3665, allocations: 119.8 kB / 1.235 GB, free: 99.59 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002446/0.3668, allocations: 149.3 kB / 1.235 GB, free: 99.44 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005123/0.3673, allocations: 354.7 kB / 1.235 GB, free: 99.09 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3673, allocations: 3.938 kB / 1.235 GB, free: 99.09 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.3675, allocations: 195.8 kB / 1.235 GB, free: 98.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.3678, allocations: 33.95 kB / 1.235 GB, free: 98.86 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.3691, allocations: 1.09 MB / 1.236 GB, free: 97.73 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.3694, allocations: 0.847 MB / 1.237 GB, free: 96.85 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002796/0.3697, allocations: 96.89 kB / 1.237 GB, free: 96.76 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.015e-05/0.3698, allocations: 39.38 kB / 1.237 GB, free: 96.72 MB / 0.823 GB Notification: Performance of SimCode: time 5.91e-07/0.3698, allocations: 0 / 1.237 GB, free: 96.72 MB / 0.823 GB Notification: Performance of Templates: time 0.0139/0.3837, allocations: 7.875 MB / 1.245 GB, free: 88.94 MB / 0.823 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)