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 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.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 10.0.0-master/package.mo): time 2.433/2.433, allocations: 391.2 MB / 407 MB, free: 10.79 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.001469/0.001469, allocations: 197.3 kB / 499.1 MB, free: 4.609 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.585/1.585, allocations: 222.9 MB / 0.7948 GB, free: 15.76 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.0009434/0.0009434, allocations: 110.3 kB / 0.9329 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001135, allocations: 51.89 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3341, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002531/0.3367, allocations: 0.9093 MB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3387, allocations: 1.456 MB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.976e-05/0.3388, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005287/0.3394, allocations: 191.5 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.3395, allocations: 111.7 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007885/0.3403, allocations: 326.2 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0006519/0.341, allocations: 0.7683 MB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.3412, allocations: 92.25 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.3414, allocations: 307.4 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.3417, allocations: 247.3 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.3418, allocations: 16 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.342, allocations: 83.88 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.3423, allocations: 307.3 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.3426, allocations: 238.8 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.3432, allocations: 0.8824 MB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3432, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3432, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3432, allocations: 0 / 1.224 GB, free: 111.2 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.001464/0.3447, allocations: 0.8841 MB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3448, allocations: 15.97 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.3449, allocations: 52.38 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007609/0.3457, allocations: 0.5409 MB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.3457, allocations: 28.61 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.665e-05/0.3458, allocations: 36.36 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.3462, allocations: 312.6 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3463, allocations: 4 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.3463, allocations: 7.984 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3463, allocations: 4 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.3466, allocations: 219.8 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.3483, allocations: 1.18 MB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.3488, allocations: 467.8 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.349, allocations: 182.5 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.349, allocations: 0 / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003701/0.3494, allocations: 346.3 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.3494, allocations: 0 / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=24): time 0.0008443/0.3502, allocations: 0.6224 MB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.3503, allocations: 119 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.3509, allocations: 0.5993 MB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/0.3509, allocations: 45.64 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.3511, allocations: 222.5 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.3512, allocations: 59.34 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.3514, allocations: 181.5 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.3515, allocations: 358.8 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.3516, allocations: 124.2 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/0.3522, allocations: 0.7252 MB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.3524, allocations: 304.6 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3525, allocations: 0 / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005309/0.353, allocations: 425 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.353, allocations: 11.94 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.353, allocations: 4 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.3531, allocations: 4 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.3532, allocations: 35.84 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3532, allocations: 8 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.3544, allocations: 127.8 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.3544, allocations: 12 kB / 1.232 GB, free: 102.5 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.0002562/0.3547, allocations: 258.3 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.3548, allocations: 47.38 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.543e-05/0.3548, allocations: 55.36 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3549, allocations: 4 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.3549, allocations: 0 / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3549, allocations: 7.938 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.3552, allocations: 405.3 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3552, allocations: 0 / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.877e-05/0.3552, allocations: 4 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3552, allocations: 3.938 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.3552, allocations: 15.98 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3552, allocations: 4 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3553, allocations: 0 / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008963/0.3562, allocations: 1.351 MB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.3563, allocations: 124.6 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.3563, allocations: 0 / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.3565, allocations: 15.98 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3566, allocations: 35.97 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.3566, allocations: 15.98 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003696/0.357, allocations: 435 kB / 1.235 GB, free: 99.64 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.357, allocations: 0 / 1.235 GB, free: 99.64 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005404/0.3575, allocations: 123.8 kB / 1.235 GB, free: 99.52 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.0002519/0.3578, allocations: 146.1 kB / 1.235 GB, free: 99.37 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.3582, allocations: 357.9 kB / 1.235 GB, free: 99.02 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3583, allocations: 3.938 kB / 1.235 GB, free: 99.02 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.3584, allocations: 183.9 kB / 1.235 GB, free: 98.84 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.3588, allocations: 38.89 kB / 1.235 GB, free: 98.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.36, allocations: 1.094 MB / 1.236 GB, free: 97.66 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3602, allocations: 0.847 MB / 1.237 GB, free: 96.78 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002267/0.3605, allocations: 94.92 kB / 1.237 GB, free: 96.69 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.3606, allocations: 39.42 kB / 1.237 GB, free: 96.65 MB / 0.823 GB Notification: Performance of SimCode: time 4.61e-07/0.3606, allocations: 0 / 1.237 GB, free: 96.65 MB / 0.823 GB Notification: Performance of Templates: time 0.01144/0.3721, allocations: 7.865 MB / 1.245 GB, free: 88.85 MB / 0.823 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)