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.602/1.602, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.00137/0.00137, allocations: 172.9 kB / 366.7 MB, free: 1.641 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.766/1.766, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008798/0.0008798, allocations: 92.06 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.094e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.7571, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.207/0.9641, allocations: 141.7 MB / 1.112 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.9645, allocations: 83.89 kB / 1.112 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06057/1.025, allocations: 22.93 MB / 1.134 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.864e-06/1.025, allocations: 0 / 1.134 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.35e-05/1.025, allocations: 15.98 kB / 1.134 GB, free: 1.547 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.001229/1.026, allocations: 0.7746 MB / 1.135 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/1.026, allocations: 8.031 kB / 1.135 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/1.027, allocations: 75.06 kB / 1.135 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/1.028, allocations: 0.687 MB / 1.136 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/1.028, allocations: 9.609 kB / 1.136 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/1.028, allocations: 19.94 kB / 1.136 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002073/1.028, allocations: 91.89 kB / 1.136 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/1.029, allocations: 180 kB / 1.136 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.029, allocations: 7.938 kB / 1.136 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/1.029, allocations: 0 / 1.136 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/1.029, allocations: 8 kB / 1.136 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/1.03, allocations: 1.083 MB / 1.137 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/1.031, allocations: 253.4 kB / 1.137 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/1.031, allocations: 92.38 kB / 1.137 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/1.031, allocations: 7.938 kB / 1.137 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/1.031, allocations: 211.5 kB / 1.138 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/1.031, allocations: 0 / 1.138 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.0008519/1.032, allocations: 331.4 kB / 1.138 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.032, allocations: 162.2 kB / 1.138 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/1.034, allocations: 0.9141 MB / 1.139 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/1.034, allocations: 25.7 kB / 1.139 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/1.034, allocations: 289.1 kB / 1.139 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.882e-05/1.034, allocations: 73.41 kB / 1.139 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/1.034, allocations: 0 / 1.139 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001696/1.035, allocations: 334 kB / 1.14 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/1.035, allocations: 237.4 kB / 1.14 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/1.036, allocations: 318.7 kB / 1.14 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/1.037, allocations: 303.7 kB / 1.14 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.037, allocations: 0 / 1.14 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002097/1.039, allocations: 0.733 MB / 1.141 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/1.039, allocations: 12.03 kB / 1.141 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.039, allocations: 4 kB / 1.141 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/1.039, allocations: 7.984 kB / 1.141 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/1.04, allocations: 111.8 kB / 1.141 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/1.04, allocations: 7.984 kB / 1.141 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/1.04, allocations: 39.62 kB / 1.141 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.04, allocations: 35.98 kB / 1.141 GB, free: 9.824 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.0002124/1.041, allocations: 137.1 kB / 1.142 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/1.041, allocations: 79.05 kB / 1.142 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/1.042, allocations: 357.2 kB / 1.142 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/1.042, allocations: 8 kB / 1.142 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.042, allocations: 5.812 kB / 1.142 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/1.042, allocations: 0 / 1.142 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007921/1.043, allocations: 457.7 kB / 1.142 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.043, allocations: 7.938 kB / 1.142 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/1.043, allocations: 29.39 kB / 1.142 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-05/1.043, allocations: 4 kB / 1.142 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/1.043, allocations: 8 kB / 1.142 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/1.043, allocations: 4 kB / 1.142 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.043, allocations: 0 / 1.142 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/1.044, allocations: 445.5 kB / 1.143 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/1.044, allocations: 172 kB / 1.143 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/1.045, allocations: 8 kB / 1.143 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/1.045, allocations: 27.95 kB / 1.143 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.975e-05/1.045, allocations: 23.97 kB / 1.143 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/1.045, allocations: 12 kB / 1.143 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001248/1.046, allocations: 0.5733 MB / 1.144 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.91e-07/1.046, allocations: 0 / 1.144 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008952/1.047, allocations: 131.9 kB / 1.144 GB, free: 7.258 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.001611/1.049, allocations: 426 kB / 1.144 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001076/1.05, allocations: 383.8 kB / 1.145 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.05, allocations: 0 / 1.145 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003144/1.05, allocations: 107.9 kB / 1.145 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/1.052, allocations: 192.1 kB / 1.145 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/1.054, allocations: 0.893 MB / 1.146 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/1.055, allocations: 0.9441 MB / 1.147 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005738/1.056, allocations: 123.5 kB / 1.147 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/1.056, allocations: 55.42 kB / 1.147 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of SimCode: time 8.01e-07/1.056, allocations: 0 / 1.147 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of Templates: time 0.02608/1.082, allocations: 7.027 MB / 1.154 GB, free: 13.35 MB / 0.7605 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)