Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 293 MB / 309 MB, free: 4.816 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.0009769/0.0009769, allocations: 184 kB / 378.7 MB, free: 1.023 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.706/1.706, allocations: 205.4 MB / 0.6383 GB, free: 8.145 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.001035/0.001035, allocations: 97.78 kB / 0.7527 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004033, allocations: 15.98 kB / 0.8768 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.289, allocations: 116.4 MB / 0.9905 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6992/0.9882, allocations: 142.6 MB / 1.13 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.9886, allocations: 84.8 kB / 1.13 GB, free: 32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06192/1.05, allocations: 23.27 MB / 1.153 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.753e-06/1.051, allocations: 0 / 1.153 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001073/1.051, allocations: 11.98 kB / 1.153 GB, free: 15.77 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.002047/1.053, allocations: 0.9462 MB / 1.153 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.053, allocations: 16.02 kB / 1.153 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/1.053, allocations: 72 kB / 1.154 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/1.055, allocations: 0.7302 MB / 1.154 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/1.055, allocations: 12.81 kB / 1.154 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/1.055, allocations: 12.38 kB / 1.154 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/1.055, allocations: 210.3 kB / 1.154 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.055, allocations: 7.938 kB / 1.154 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/1.055, allocations: 5.5 kB / 1.154 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/1.055, allocations: 0 / 1.154 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/1.055, allocations: 115.9 kB / 1.155 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/1.057, allocations: 1.114 MB / 1.156 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/1.058, allocations: 293 kB / 1.156 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/1.058, allocations: 112.2 kB / 1.156 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/1.058, allocations: 7.984 kB / 1.156 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003334/1.058, allocations: 239.2 kB / 1.156 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.854e-06/1.058, allocations: 0 / 1.156 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0009615/1.059, allocations: 442.3 kB / 1.157 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/1.059, allocations: 162.2 kB / 1.157 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/1.06, allocations: 1.047 MB / 1.158 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/1.061, allocations: 41.69 kB / 1.158 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/1.061, allocations: 284.9 kB / 1.158 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/1.061, allocations: 79.08 kB / 1.158 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/1.061, allocations: 16 kB / 1.158 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.553e-05/1.061, allocations: 330.8 kB / 1.159 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/1.061, allocations: 257.2 kB / 1.159 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/1.062, allocations: 354.9 kB / 1.159 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/1.062, allocations: 460 kB / 1.16 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.062, allocations: 8 kB / 1.16 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001223/1.064, allocations: 0.7575 MB / 1.16 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/1.064, allocations: 8.562 kB / 1.16 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.064, allocations: 5.562 kB / 1.16 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/1.064, allocations: 4 kB / 1.16 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/1.064, allocations: 116.4 kB / 1.161 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/1.064, allocations: 8.094 kB / 1.161 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/1.065, allocations: 47.73 kB / 1.161 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.066e-05/1.065, allocations: 35.98 kB / 1.161 GB, free: 7.105 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003791/1.065, allocations: 279.2 kB / 1.161 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.065, allocations: 75.06 kB / 1.161 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007122/1.066, allocations: 400.5 kB / 1.161 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.066, allocations: 4 kB / 1.161 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.066, allocations: 4 kB / 1.161 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/1.066, allocations: 3.984 kB / 1.161 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/1.066, allocations: 493 kB / 1.162 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.066, allocations: 0 / 1.162 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.57e-05/1.066, allocations: 35.92 kB / 1.162 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.066, allocations: 4 kB / 1.162 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/1.066, allocations: 7.984 kB / 1.162 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.067, allocations: 5.812 kB / 1.162 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.067, allocations: 4 kB / 1.162 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006616/1.067, allocations: 428.1 kB / 1.162 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/1.067, allocations: 172.1 kB / 1.162 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.438e-05/1.067, allocations: 17.22 kB / 1.162 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/1.068, allocations: 15.98 kB / 1.162 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/1.068, allocations: 31.89 kB / 1.162 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/1.068, allocations: 12 kB / 1.163 GB, free: 5.051 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007449/1.069, allocations: 0.62 MB / 1.163 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.069, allocations: 0 / 1.163 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005423/1.069, allocations: 147.8 kB / 1.163 GB, free: 4.289 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001088/1.07, allocations: 0.503 MB / 1.164 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007169/1.071, allocations: 437.1 kB / 1.164 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.071, allocations: 0 / 1.164 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/1.071, allocations: 119.9 kB / 1.164 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009162/1.072, allocations: 188.9 kB / 1.164 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/1.074, allocations: 1.253 MB / 1.166 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/1.074, allocations: 0.939 MB / 1.167 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000382/1.075, allocations: 114.8 kB / 1.167 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/1.075, allocations: 59.41 kB / 1.167 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of SimCode: time 7.32e-07/1.075, allocations: 0 / 1.167 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of Templates: time 0.01533/1.09, allocations: 7.764 MB / 1.174 GB, free: 9.105 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)