Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 285.4 MB / 298 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 180.8 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000969/0.0009682, allocations: 84.61 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.295e-05/4.296e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6612/0.6613, allocations: 115.3 MB / 0.9709 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.8427, allocations: 138 MB / 1.106 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/0.8431, allocations: 76.47 kB / 1.106 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06584/0.909, allocations: 21.21 MB / 1.126 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.927e-06/0.909, allocations: 0 / 1.126 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.29e-05/0.9091, allocations: 4 kB / 1.126 GB, free: 8.594 MB / 0.7292 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.001137/0.9102, allocations: 0.4901 MB / 1.127 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.9103, allocations: 16.03 kB / 1.127 GB, free: 8.039 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.9106, allocations: 27.72 kB / 1.127 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000812/0.9114, allocations: 364.3 kB / 1.127 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.9114, allocations: 19.98 kB / 1.127 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.9115, allocations: 20 kB / 1.127 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.9119, allocations: 184.1 kB / 1.128 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.9119, allocations: 3.938 kB / 1.128 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.9119, allocations: 7.984 kB / 1.128 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.9119, allocations: 4 kB / 1.128 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.9121, allocations: 107.9 kB / 1.128 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.9127, allocations: 391 kB / 1.128 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.9131, allocations: 327.7 kB / 1.128 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.9133, allocations: 126.6 kB / 1.128 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.9133, allocations: 0 / 1.128 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003981/0.9137, allocations: 287 kB / 1.129 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.724e-06/0.9137, allocations: 1.406 kB / 1.129 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0006806/0.9144, allocations: 407.5 kB / 1.129 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.9145, allocations: 114.8 kB / 1.129 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.9149, allocations: 354.7 kB / 1.13 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/0.915, allocations: 41.7 kB / 1.13 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.9151, allocations: 165.6 kB / 1.13 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.9152, allocations: 35.59 kB / 1.13 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.9152, allocations: 4 kB / 1.13 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9153, allocations: 346.8 kB / 1.13 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.9155, allocations: 83.97 kB / 1.13 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.916, allocations: 474.8 kB / 1.131 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.9162, allocations: 143.7 kB / 1.131 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.9162, allocations: 0 / 1.131 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004748/0.9167, allocations: 332.9 kB / 1.131 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.9167, allocations: 8 kB / 1.131 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.9167, allocations: 1.969 kB / 1.131 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.9167, allocations: 8 kB / 1.131 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.9169, allocations: 31.92 kB / 1.131 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.9169, allocations: 4 kB / 1.131 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.9175, allocations: 56.44 kB / 1.131 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.9176, allocations: 15.94 kB / 1.131 GB, free: 3.277 MB / 0.7292 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 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.9177, allocations: 143.3 kB / 1.131 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.9178, allocations: 27.72 kB / 1.131 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.9178, allocations: 38.02 kB / 1.131 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.9178, allocations: 0 / 1.131 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.9178, allocations: 0 / 1.131 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.9178, allocations: 5.188 kB / 1.131 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.9181, allocations: 289.3 kB / 1.132 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.9181, allocations: 4 kB / 1.132 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.619e-05/0.9182, allocations: 3.984 kB / 1.132 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.9182, allocations: 4 kB / 1.132 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.9182, allocations: 8 kB / 1.132 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.9182, allocations: 0 / 1.132 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9182, allocations: 4 kB / 1.132 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.9188, allocations: 467.1 kB / 1.132 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.9189, allocations: 116.7 kB / 1.132 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.9189, allocations: 15.83 kB / 1.132 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.919, allocations: 4 kB / 1.132 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.9191, allocations: 15.98 kB / 1.132 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.9191, allocations: 16.08 kB / 1.132 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002873/0.9194, allocations: 286.1 kB / 1.133 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9194, allocations: 0 / 1.133 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000407/0.9198, allocations: 95.88 kB / 1.133 GB, free: 1.66 MB / 0.7292 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 () * 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 (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.0002469/0.9201, allocations: 143.1 kB / 1.133 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.9205, allocations: 259.9 kB / 1.133 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9205, allocations: 0 / 1.133 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.9206, allocations: 139.9 kB / 1.133 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.9208, allocations: 26.64 kB / 1.133 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.9216, allocations: 461.3 kB / 1.134 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.9219, allocations: 0.7677 MB / 1.134 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001563/0.9221, allocations: 50.06 kB / 1.135 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.9222, allocations: 27.44 kB / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.9222, allocations: 0 / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.008759/0.9309, allocations: 4.607 MB / 1.139 GB, free: 11.25 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)