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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.592/1.592, allocations: 289.7 MB / 302.2 MB, free: 2.215 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.001151/0.001151, allocations: 179.4 kB / 371.6 MB, free: 3.355 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.877/1.877, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.00102/0.00102, allocations: 93.92 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.446e-05/4.457e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2847, allocations: 116.3 MB / 0.9798 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8666/1.151, allocations: 142.4 MB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.152, allocations: 76.95 kB / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05834/1.21, allocations: 23.11 MB / 1.142 GB, free: 30.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.344e-06/1.21, allocations: 0 / 1.142 GB, free: 30.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.791e-05/1.21, allocations: 12 kB / 1.142 GB, free: 30.18 MB / 0.7448 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.001289/1.212, allocations: 0.7808 MB / 1.142 GB, free: 29.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/1.212, allocations: 8.031 kB / 1.142 GB, free: 29.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/1.212, allocations: 77.44 kB / 1.142 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/1.213, allocations: 0.6856 MB / 1.143 GB, free: 28.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/1.213, allocations: 17.12 kB / 1.143 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/1.213, allocations: 17.08 kB / 1.143 GB, free: 28.83 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/1.214, allocations: 193.9 kB / 1.143 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.214, allocations: 0 / 1.143 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/1.214, allocations: 8.766 kB / 1.143 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.214, allocations: 0 / 1.143 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/1.214, allocations: 110.9 kB / 1.143 GB, free: 28.63 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/1.216, allocations: 1.118 MB / 1.144 GB, free: 27.79 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/1.216, allocations: 269.7 kB / 1.145 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/1.216, allocations: 99.89 kB / 1.145 GB, free: 27.47 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/1.216, allocations: 8.703 kB / 1.145 GB, free: 27.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003379/1.216, allocations: 209.1 kB / 1.145 GB, free: 27.31 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/1.216, allocations: 4 kB / 1.145 GB, free: 27.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.0006308/1.217, allocations: 343.4 kB / 1.145 GB, free: 27.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/1.217, allocations: 167.1 kB / 1.146 GB, free: 26.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/1.218, allocations: 0.9477 MB / 1.146 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/1.218, allocations: 35.78 kB / 1.146 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/1.219, allocations: 290.6 kB / 1.147 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.667e-05/1.219, allocations: 72.06 kB / 1.147 GB, free: 26 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/1.219, allocations: 15.38 kB / 1.147 GB, free: 26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.715e-05/1.219, allocations: 335.4 kB / 1.147 GB, free: 25.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/1.219, allocations: 241.4 kB / 1.147 GB, free: 25.54 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/1.22, allocations: 341.3 kB / 1.148 GB, free: 25.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/1.22, allocations: 272.3 kB / 1.148 GB, free: 25.15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.22, allocations: 4 kB / 1.148 GB, free: 25.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001062/1.221, allocations: 0.7375 MB / 1.149 GB, free: 24.65 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.221, allocations: 4 kB / 1.149 GB, free: 24.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.221, allocations: 8.156 kB / 1.149 GB, free: 24.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/1.221, allocations: 8 kB / 1.149 GB, free: 24.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/1.222, allocations: 119.3 kB / 1.149 GB, free: 24.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/1.222, allocations: 10.25 kB / 1.149 GB, free: 24.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/1.222, allocations: 42.86 kB / 1.149 GB, free: 24.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/1.222, allocations: 34.12 kB / 1.149 GB, free: 24.47 MB / 0.7448 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 () * 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.0001261/1.222, allocations: 153.1 kB / 1.149 GB, free: 24.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/1.222, allocations: 71.81 kB / 1.149 GB, free: 24.26 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006137/1.223, allocations: 384.5 kB / 1.15 GB, free: 24.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.223, allocations: 4.312 kB / 1.15 GB, free: 24.01 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/1.223, allocations: 8.688 kB / 1.15 GB, free: 24 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.223, allocations: 9.344 kB / 1.15 GB, free: 24 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/1.223, allocations: 487.6 kB / 1.15 GB, free: 23.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.223, allocations: 0 / 1.15 GB, free: 23.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/1.224, allocations: 25.8 kB / 1.15 GB, free: 23.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/1.224, allocations: 4.609 kB / 1.15 GB, free: 23.65 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/1.224, allocations: 13.53 kB / 1.15 GB, free: 23.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.224, allocations: 4.75 kB / 1.15 GB, free: 23.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.224, allocations: 4.5 kB / 1.15 GB, free: 23.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/1.224, allocations: 464.9 kB / 1.15 GB, free: 23.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/1.224, allocations: 170.5 kB / 1.151 GB, free: 23.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/1.224, allocations: 12.47 kB / 1.151 GB, free: 23.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/1.225, allocations: 20.83 kB / 1.151 GB, free: 23.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/1.225, allocations: 27.56 kB / 1.151 GB, free: 23.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/1.225, allocations: 13.33 kB / 1.151 GB, free: 23.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007087/1.225, allocations: 0.6176 MB / 1.151 GB, free: 22.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.225, allocations: 0 / 1.151 GB, free: 22.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004775/1.226, allocations: 145.7 kB / 1.151 GB, free: 22.49 MB / 0.7448 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) * 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.001048/1.227, allocations: 462.8 kB / 1.152 GB, free: 22.19 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005727/1.228, allocations: 397.1 kB / 1.152 GB, free: 21.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.228, allocations: 0 / 1.152 GB, free: 21.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/1.228, allocations: 120.6 kB / 1.152 GB, free: 21.85 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/1.229, allocations: 195.7 kB / 1.153 GB, free: 21.74 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/1.23, allocations: 0.9003 MB / 1.153 GB, free: 21.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/1.23, allocations: 0.9541 MB / 1.154 GB, free: 20.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002925/1.231, allocations: 115.6 kB / 1.155 GB, free: 20.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/1.231, allocations: 57.14 kB / 1.155 GB, free: 20.03 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/1.231, allocations: 0 / 1.155 GB, free: 20.03 MB / 0.7448 GB Notification: Performance of Templates: time 0.01435/1.245, allocations: 7.694 MB / 1.162 GB, free: 15.49 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)