Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.386/2.386, allocations: 391.2 MB / 407 MB, free: 10.74 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.001314/0.001315, allocations: 179.5 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.549/1.549, allocations: 222.9 MB / 0.7948 GB, free: 15.81 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.001253/0.001253, allocations: 110.5 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 53.77 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3359, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002187/0.3381, allocations: 0.7257 MB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.34, allocations: 1.347 MB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.3401, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.3405, allocations: 191.6 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.151e-05/0.3406, allocations: 99.72 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.3412, allocations: 211.2 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.3416, allocations: 439.8 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.3416, allocations: 11.98 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3418, allocations: 183.7 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.342, allocations: 207.5 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.265e-05/0.3421, allocations: 12 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.3423, allocations: 67.94 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.3426, allocations: 243.5 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.3428, allocations: 139.3 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.3432, allocations: 464.8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3432, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3432, allocations: 4 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.3433, allocations: 0 / 1.222 GB, free: 112.9 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008293/0.3441, allocations: 0.6358 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3441, allocations: 11.98 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.3442, allocations: 28.66 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.3447, allocations: 380 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3447, allocations: 20.36 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.3448, allocations: 20.38 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.3451, allocations: 188.2 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3451, allocations: 3.938 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.3451, allocations: 0 / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3451, allocations: 0 / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.3453, allocations: 111.9 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.3456, allocations: 399 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.3459, allocations: 315.6 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.3461, allocations: 126.5 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.3461, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003558/0.3464, allocations: 289.5 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.3464, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0006253/0.3471, allocations: 0.501 MB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3471, allocations: 110.8 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.3474, allocations: 404.4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.3475, allocations: 33.7 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.449e-05/0.3476, allocations: 156.8 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.3476, allocations: 35.59 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.3478, allocations: 113.6 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.3478, allocations: 350.8 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.487e-05/0.3479, allocations: 83.95 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.3483, allocations: 460.5 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.3485, allocations: 261.4 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3485, allocations: 0 / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003668/0.3489, allocations: 324.8 kB / 1.227 GB, free: 107.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3489, allocations: 9.25 kB / 1.227 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3489, allocations: 4.406 kB / 1.227 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.349, allocations: 8.234 kB / 1.227 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3491, allocations: 31.92 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.3491, allocations: 7.938 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/0.3498, allocations: 82.34 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.3498, allocations: 12 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001522/0.35, allocations: 200.6 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.35, allocations: 27.62 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.3501, allocations: 33.89 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3501, allocations: 4 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3501, allocations: 0 / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3501, allocations: 0 / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.3503, allocations: 289.4 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3503, allocations: 0 / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.324e-05/0.3503, allocations: 7.938 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3503, allocations: 0 / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3503, allocations: 11.98 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3503, allocations: 4 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3504, allocations: 0 / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.351, allocations: 1.169 MB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.3511, allocations: 108.8 kB / 1.229 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.3511, allocations: 8 kB / 1.229 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.3512, allocations: 0 / 1.229 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.3513, allocations: 23.91 kB / 1.229 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.3513, allocations: 12 kB / 1.229 GB, free: 104.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002116/0.3515, allocations: 291 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3515, allocations: 0 / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004166/0.3519, allocations: 76 kB / 1.23 GB, free: 104.6 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: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000191/0.3521, allocations: 147 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003101/0.3525, allocations: 259.6 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3525, allocations: 0 / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.3526, allocations: 144.7 kB / 1.23 GB, free: 104 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.3529, allocations: 29.45 kB / 1.23 GB, free: 104 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/0.3537, allocations: 0.757 MB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.3539, allocations: 0.7794 MB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.354, allocations: 50.11 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.354, allocations: 27.44 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.354, allocations: 0 / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of Templates: time 0.007047/0.3611, allocations: 4.951 MB / 1.237 GB, free: 97.43 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)