Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 292.6 MB / 307.5 MB, free: 5.254 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.001388/0.001388, allocations: 185 kB / 377.1 MB, free: 1.535 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.894/1.894, allocations: 205.4 MB / 0.6367 GB, free: 8.543 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.000946/0.0009463, allocations: 95.28 kB / 0.751 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 12 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3064, allocations: 116.3 MB / 0.9884 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9092/1.216, allocations: 139.6 MB / 1.125 GB, free: 35.15 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.216, allocations: 71.8 kB / 1.125 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02091/1.237, allocations: 8.65 MB / 1.133 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.084e-06/1.237, allocations: 0 / 1.133 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.125e-05/1.237, allocations: 4.656 kB / 1.133 GB, free: 28.73 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001046/1.238, allocations: 0.6248 MB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/1.238, allocations: 12.03 kB / 1.134 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/1.238, allocations: 32.42 kB / 1.134 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/1.238, allocations: 197.5 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/1.238, allocations: 264.7 kB / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/1.238, allocations: 29.22 kB / 1.134 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/1.239, allocations: 258.1 kB / 1.135 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/1.239, allocations: 12.56 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/1.239, allocations: 12.64 kB / 1.135 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/1.239, allocations: 5.031 kB / 1.135 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/1.239, allocations: 190 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/1.241, allocations: 0.8103 MB / 1.136 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/1.241, allocations: 216.8 kB / 1.136 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/1.241, allocations: 5.781 kB / 1.136 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005192/1.242, allocations: 310.4 kB / 1.136 GB, free: 25.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/1.242, allocations: 4.938 kB / 1.136 GB, free: 25.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.0009121/1.243, allocations: 0.4943 MB / 1.137 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/1.243, allocations: 116.1 kB / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/1.243, allocations: 151.9 kB / 1.137 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/1.243, allocations: 42.5 kB / 1.137 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/1.243, allocations: 114.3 kB / 1.137 GB, free: 24.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.901e-05/1.243, allocations: 150.8 kB / 1.137 GB, free: 24.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/1.243, allocations: 12 kB / 1.137 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.674e-05/1.243, allocations: 348.8 kB / 1.137 GB, free: 24.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/1.243, allocations: 152.7 kB / 1.138 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/1.244, allocations: 258.5 kB / 1.138 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/1.244, allocations: 169.8 kB / 1.138 GB, free: 23.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.244, allocations: 0 / 1.138 GB, free: 23.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007188/1.245, allocations: 497.8 kB / 1.138 GB, free: 23.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.245, allocations: 8.781 kB / 1.139 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.245, allocations: 4 kB / 1.139 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.245, allocations: 8 kB / 1.139 GB, free: 23.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/1.245, allocations: 96.91 kB / 1.139 GB, free: 23.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/1.245, allocations: 9.812 kB / 1.139 GB, free: 23.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/1.245, allocations: 72.12 kB / 1.139 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/1.245, allocations: 21.41 kB / 1.139 GB, free: 23.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * 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.000136/1.246, allocations: 165.2 kB / 1.139 GB, free: 23.15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/1.246, allocations: 24.56 kB / 1.139 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/1.246, allocations: 35.92 kB / 1.139 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.246, allocations: 9.25 kB / 1.139 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.246, allocations: 0.7969 kB / 1.139 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.246, allocations: 6.109 kB / 1.139 GB, free: 23.08 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/1.246, allocations: 360.1 kB / 1.139 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.246, allocations: 0.6562 kB / 1.139 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/1.246, allocations: 75.23 kB / 1.139 GB, free: 22.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/1.246, allocations: 0 / 1.139 GB, free: 22.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/1.246, allocations: 18.39 kB / 1.139 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/1.246, allocations: 6.047 kB / 1.139 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.247, allocations: 5.359 kB / 1.139 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009881/1.247, allocations: 0.6164 MB / 1.14 GB, free: 22.06 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/1.248, allocations: 102 kB / 1.14 GB, free: 21.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/1.248, allocations: 13.08 kB / 1.14 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/1.248, allocations: 46.5 kB / 1.14 GB, free: 21.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.248, allocations: 41.91 kB / 1.14 GB, free: 21.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/1.248, allocations: 18.77 kB / 1.14 GB, free: 21.85 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.076e-05/1.248, allocations: 126.3 kB / 1.14 GB, free: 21.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.248, allocations: 0 / 1.14 GB, free: 21.74 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003001/1.248, allocations: 85.31 kB / 1.14 GB, free: 21.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001786/1.249, allocations: 126.2 kB / 1.141 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006438/1.249, allocations: 389.6 kB / 1.141 GB, free: 21.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.249, allocations: 4 kB / 1.141 GB, free: 21.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/1.25, allocations: 193.1 kB / 1.141 GB, free: 21.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/1.25, allocations: 31.45 kB / 1.141 GB, free: 20.99 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/1.251, allocations: 0.7067 MB / 1.142 GB, free: 20.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/1.251, allocations: 0.7776 MB / 1.143 GB, free: 19.58 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001576/1.251, allocations: 39.25 kB / 1.143 GB, free: 19.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/1.251, allocations: 29.78 kB / 1.143 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.251, allocations: 0 / 1.143 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.006518/1.258, allocations: 3.032 MB / 1.146 GB, free: 17.8 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)