Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.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.776/1.776, allocations: 288.3 MB / 303.2 MB, free: 8.219 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.001123/0.001123, allocations: 177.1 kB / 371.8 MB, free: 10.3 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.73/1.73, allocations: 205.4 MB / 0.6306 GB, free: 9.941 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009548/0.0009547, allocations: 89.64 kB / 0.7439 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005747/0.000575, allocations: 16.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2821, allocations: 115.3 MB / 0.9795 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9091/1.191, allocations: 141.5 MB / 1.118 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.192, allocations: 80.59 kB / 1.118 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05396/1.246, allocations: 23.17 MB / 1.14 GB, free: 26.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/1.246, allocations: 0 / 1.14 GB, free: 26.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.632e-05/1.246, allocations: 15.69 kB / 1.14 GB, free: 26.1 MB / 0.698 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.001432/1.247, allocations: 0.9553 MB / 1.141 GB, free: 25.35 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.247, allocations: 11.53 kB / 1.141 GB, free: 25.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/1.247, allocations: 77.28 kB / 1.141 GB, free: 25.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/1.249, allocations: 0.6985 MB / 1.142 GB, free: 24.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/1.249, allocations: 12.5 kB / 1.142 GB, free: 24.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/1.249, allocations: 14.98 kB / 1.142 GB, free: 24.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/1.249, allocations: 211.1 kB / 1.142 GB, free: 24.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.249, allocations: 0 / 1.142 GB, free: 24.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/1.249, allocations: 7 kB / 1.142 GB, free: 24.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.249, allocations: 3.719 kB / 1.142 GB, free: 24.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/1.249, allocations: 113 kB / 1.142 GB, free: 24.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/1.251, allocations: 1.116 MB / 1.144 GB, free: 23.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/1.251, allocations: 292.2 kB / 1.144 GB, free: 23.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/1.251, allocations: 7.531 kB / 1.144 GB, free: 23.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/1.251, allocations: 230.4 kB / 1.144 GB, free: 23.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/1.251, allocations: 0 / 1.144 GB, free: 23.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0008501/1.252, allocations: 442.7 kB / 1.144 GB, free: 23.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/1.252, allocations: 166 kB / 1.145 GB, free: 23.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009909/1.253, allocations: 0.9593 MB / 1.146 GB, free: 23.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/1.253, allocations: 32.98 kB / 1.146 GB, free: 23.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/1.254, allocations: 292.9 kB / 1.146 GB, free: 22.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/1.254, allocations: 75.36 kB / 1.146 GB, free: 22.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/1.254, allocations: 12.56 kB / 1.146 GB, free: 22.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.254, allocations: 332.1 kB / 1.146 GB, free: 22.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/1.254, allocations: 257.7 kB / 1.146 GB, free: 22.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/1.255, allocations: 340.2 kB / 1.147 GB, free: 22.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/1.255, allocations: 295.8 kB / 1.147 GB, free: 22.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.255, allocations: 0 / 1.147 GB, free: 22.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001054/1.256, allocations: 0.7621 MB / 1.148 GB, free: 22.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.256, allocations: 3.844 kB / 1.148 GB, free: 22.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.256, allocations: 3.844 kB / 1.148 GB, free: 22.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.256, allocations: 7.656 kB / 1.148 GB, free: 22.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/1.257, allocations: 125.8 kB / 1.148 GB, free: 22.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.257, allocations: 8.016 kB / 1.148 GB, free: 22.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/1.257, allocations: 47.98 kB / 1.148 GB, free: 22.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.68e-05/1.257, allocations: 33.36 kB / 1.148 GB, free: 22.14 MB / 0.698 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.000289/1.257, allocations: 274.3 kB / 1.148 GB, free: 21.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/1.257, allocations: 76.03 kB / 1.148 GB, free: 21.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006677/1.258, allocations: 399.3 kB / 1.149 GB, free: 21.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.258, allocations: 3.719 kB / 1.149 GB, free: 21.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.258, allocations: 0 / 1.149 GB, free: 21.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.258, allocations: 11.56 kB / 1.149 GB, free: 21.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/1.258, allocations: 487.8 kB / 1.149 GB, free: 21.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/1.258, allocations: 4.297 kB / 1.149 GB, free: 21.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/1.259, allocations: 34.98 kB / 1.149 GB, free: 21.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/1.259, allocations: 11.84 kB / 1.149 GB, free: 21.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/1.259, allocations: 10.64 kB / 1.149 GB, free: 21.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.259, allocations: 3.844 kB / 1.149 GB, free: 21.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.259, allocations: 0 / 1.149 GB, free: 21.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006391/1.259, allocations: 479.1 kB / 1.15 GB, free: 21.26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/1.259, allocations: 175.2 kB / 1.15 GB, free: 21.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.256e-05/1.26, allocations: 10.31 kB / 1.15 GB, free: 21.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/1.26, allocations: 25.72 kB / 1.15 GB, free: 21.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/1.26, allocations: 23.16 kB / 1.15 GB, free: 21.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/1.26, allocations: 10.34 kB / 1.15 GB, free: 21.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006552/1.26, allocations: 0.618 MB / 1.151 GB, free: 20.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/1.26, allocations: 0 / 1.151 GB, free: 20.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005134/1.261, allocations: 146.8 kB / 1.151 GB, free: 20.89 MB / 0.698 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.001029/1.262, allocations: 0.4957 MB / 1.151 GB, free: 20.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006738/1.263, allocations: 426.3 kB / 1.152 GB, free: 20.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.263, allocations: 4.125 kB / 1.152 GB, free: 20.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/1.263, allocations: 130.1 kB / 1.152 GB, free: 20.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007963/1.264, allocations: 196 kB / 1.152 GB, free: 20.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/1.265, allocations: 1.255 MB / 1.153 GB, free: 19.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/1.266, allocations: 0.9431 MB / 1.154 GB, free: 19.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002927/1.266, allocations: 118.1 kB / 1.154 GB, free: 18.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/1.266, allocations: 59.92 kB / 1.154 GB, free: 18.95 MB / 0.698 GB Notification: Performance of SimCode: time 7.51e-07/1.266, allocations: 0 / 1.154 GB, free: 18.95 MB / 0.698 GB Notification: Performance of Templates: time 0.01308/1.279, allocations: 7.676 MB / 1.162 GB, free: 12.36 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)