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.687/1.687, allocations: 292.6 MB / 307.5 MB, free: 5.07 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.001173/0.001173, allocations: 176.9 kB / 377.1 MB, free: 1.406 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.866/1.866, allocations: 205.4 MB / 0.6367 GB, free: 9.551 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.0009368/0.0009366, allocations: 90.38 kB / 0.751 GB, free: 62.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004025, allocations: 16 kB / 0.8748 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3057, allocations: 116.3 MB / 0.9884 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8482/1.154, allocations: 142.5 MB / 1.128 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/1.154, allocations: 84.16 kB / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0633/1.218, allocations: 23.18 MB / 1.15 GB, free: 17.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.703e-06/1.218, allocations: 4 kB / 1.15 GB, free: 17.08 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.011e-05/1.218, allocations: 8 kB / 1.15 GB, free: 17.07 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.001934/1.22, allocations: 0.9615 MB / 1.151 GB, free: 16.06 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.22, allocations: 8.969 kB / 1.151 GB, free: 16.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/1.22, allocations: 77.12 kB / 1.151 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/1.222, allocations: 0.6904 MB / 1.152 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/1.222, allocations: 13.62 kB / 1.152 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/1.222, allocations: 19.94 kB / 1.152 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/1.222, allocations: 201.8 kB / 1.152 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.222, allocations: 0 / 1.152 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/1.222, allocations: 9.703 kB / 1.152 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/1.222, allocations: 4 kB / 1.152 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/1.222, allocations: 115.9 kB / 1.152 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/1.224, allocations: 1.115 MB / 1.153 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/1.224, allocations: 289.3 kB / 1.154 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/1.224, allocations: 12.03 kB / 1.154 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003478/1.225, allocations: 229.6 kB / 1.154 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.694e-06/1.225, allocations: 0 / 1.154 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0009159/1.226, allocations: 446 kB / 1.154 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/1.226, allocations: 162.2 kB / 1.154 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/1.227, allocations: 0.953 MB / 1.155 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/1.227, allocations: 37.7 kB / 1.155 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/1.227, allocations: 288.8 kB / 1.156 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/1.227, allocations: 79.08 kB / 1.156 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/1.227, allocations: 16 kB / 1.156 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/1.227, allocations: 330.8 kB / 1.156 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/1.228, allocations: 261.1 kB / 1.156 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/1.228, allocations: 347 kB / 1.157 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/1.229, allocations: 276.2 kB / 1.157 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.229, allocations: 0 / 1.157 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001067/1.23, allocations: 0.7713 MB / 1.158 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.23, allocations: 8 kB / 1.158 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.23, allocations: 0 / 1.158 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/1.23, allocations: 8.844 kB / 1.158 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/1.23, allocations: 119.8 kB / 1.158 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/1.23, allocations: 11.95 kB / 1.158 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/1.23, allocations: 43.81 kB / 1.158 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/1.23, allocations: 39.98 kB / 1.158 GB, free: 8.859 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.0002861/1.231, allocations: 273.7 kB / 1.158 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-05/1.231, allocations: 75.05 kB / 1.158 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/1.232, allocations: 398.8 kB / 1.159 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.232, allocations: 4 kB / 1.159 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.232, allocations: 9.297 kB / 1.159 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/1.232, allocations: 9.703 kB / 1.159 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/1.232, allocations: 489.1 kB / 1.159 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.232, allocations: 0 / 1.159 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.579e-05/1.232, allocations: 23.98 kB / 1.159 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/1.232, allocations: 4 kB / 1.159 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/1.232, allocations: 11.98 kB / 1.159 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/1.232, allocations: 4 kB / 1.159 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.232, allocations: 3.938 kB / 1.159 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006142/1.233, allocations: 475.2 kB / 1.16 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/1.233, allocations: 180.1 kB / 1.16 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/1.233, allocations: 11.98 kB / 1.16 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/1.233, allocations: 19.98 kB / 1.16 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/1.233, allocations: 27.91 kB / 1.16 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/1.233, allocations: 16.83 kB / 1.16 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007109/1.234, allocations: 0.6161 MB / 1.16 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.234, allocations: 0 / 1.16 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004709/1.235, allocations: 147.9 kB / 1.161 GB, free: 5.98 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.001068/1.236, allocations: 0.4972 MB / 1.161 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000733/1.236, allocations: 427.6 kB / 1.162 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.237, allocations: 0 / 1.162 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/1.237, allocations: 127.8 kB / 1.162 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/1.237, allocations: 194.3 kB / 1.162 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/1.239, allocations: 1.249 MB / 1.163 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.239, allocations: 0.9522 MB / 1.164 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003041/1.24, allocations: 114.2 kB / 1.164 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/1.24, allocations: 55.42 kB / 1.164 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/1.24, allocations: 0 / 1.164 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of Templates: time 0.01394/1.254, allocations: 7.678 MB / 1.172 GB, free: 10.88 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)