Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.635/2.635, allocations: 284.8 MB / 297.3 MB, free: 6.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00204/0.00204, allocations: 176.9 kB / 365.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.2 MB / 0.6241 GB, free: 8.172 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001433/0.001432, allocations: 103.2 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.65e-05/4.672e-05, allocations: 8 kB / 0.8575 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8008/0.8009, allocations: 115.2 MB / 0.97 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.243/1.044, allocations: 138.3 MB / 1.105 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.044, allocations: 72.48 kB / 1.105 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05141/1.096, allocations: 8.623 MB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.984e-06/1.096, allocations: 1.312 kB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.051e-05/1.096, allocations: 4 kB / 1.114 GB, free: 5.43 MB / 0.7136 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.002272/1.098, allocations: 0.5977 MB / 1.114 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/1.098, allocations: 8.031 kB / 1.114 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/1.098, allocations: 29.97 kB / 1.114 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/1.099, allocations: 199.5 kB / 1.114 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008543/1.107, allocations: 263.8 kB / 1.115 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/1.107, allocations: 28 kB / 1.115 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009417/1.108, allocations: 241.8 kB / 1.115 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/1.108, allocations: 3.906 kB / 1.115 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.335e-05/1.109, allocations: 12 kB / 1.115 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/1.109, allocations: 7.984 kB / 1.115 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007321/1.109, allocations: 144.1 kB / 1.115 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006627/1.116, allocations: 0.8036 MB / 1.116 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008826/1.117, allocations: 187.3 kB / 1.116 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/1.117, allocations: 115.3 kB / 1.116 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.68e-05/1.117, allocations: 20.16 kB / 1.116 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009682/1.118, allocations: 286 kB / 1.116 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 8.276e-06/1.118, allocations: 3.938 kB / 1.116 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.001452/1.12, allocations: 336.5 kB / 1.117 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.12, allocations: 114.8 kB / 1.117 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/1.12, allocations: 162.5 kB / 1.117 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.397e-05/1.12, allocations: 37.7 kB / 1.117 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/1.121, allocations: 121.2 kB / 1.117 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/1.121, allocations: 146 kB / 1.117 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/1.121, allocations: 12 kB / 1.117 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001983/1.121, allocations: 342.8 kB / 1.118 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005827/1.122, allocations: 125.6 kB / 1.118 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007081/1.122, allocations: 238.1 kB / 1.118 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008831/1.131, allocations: 140.9 kB / 1.118 GB, free: 424 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/1.131, allocations: 4 kB / 1.118 GB, free: 420 kB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001841/1.133, allocations: 459.6 kB / 1.119 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/1.133, allocations: 9.094 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.133, allocations: 0 / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.964e-05/1.133, allocations: 8 kB / 1.119 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/1.134, allocations: 99.78 kB / 1.119 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.829e-05/1.135, allocations: 11.92 kB / 1.119 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004708/1.139, allocations: 71.66 kB / 1.119 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/1.139, allocations: 20.09 kB / 1.119 GB, free: 15.75 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 () * 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.0002817/1.14, allocations: 143 kB / 1.119 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/1.14, allocations: 31.62 kB / 1.119 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/1.14, allocations: 33.64 kB / 1.119 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.14, allocations: 13.22 kB / 1.119 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.14, allocations: 0 / 1.119 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/1.14, allocations: 3.984 kB / 1.119 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007532/1.141, allocations: 357.1 kB / 1.119 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.141, allocations: 4 kB / 1.119 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/1.142, allocations: 75.89 kB / 1.119 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/1.142, allocations: 4 kB / 1.119 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.619e-05/1.142, allocations: 11.98 kB / 1.119 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/1.142, allocations: 4 kB / 1.119 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.142, allocations: 4 kB / 1.119 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005596/1.148, allocations: 0.5604 MB / 1.12 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/1.148, allocations: 104.6 kB / 1.12 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/1.148, allocations: 13.94 kB / 1.12 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007104/1.149, allocations: 43.95 kB / 1.12 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/1.149, allocations: 39.95 kB / 1.12 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/1.149, allocations: 19.94 kB / 1.12 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002135/1.149, allocations: 129.2 kB / 1.12 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.21e-07/1.149, allocations: 0 / 1.12 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008795/1.15, allocations: 80 kB / 1.12 GB, free: 13.99 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 () * 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.0003139/1.151, allocations: 122.7 kB / 1.121 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001609/1.152, allocations: 349.3 kB / 1.121 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.152, allocations: 0 / 1.121 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007686/1.153, allocations: 159.9 kB / 1.121 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/1.154, allocations: 32.17 kB / 1.121 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/1.156, allocations: 0.5068 MB / 1.122 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/1.157, allocations: 0.7725 MB / 1.122 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004855/1.157, allocations: 39.14 kB / 1.122 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/1.157, allocations: 27.44 kB / 1.122 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of SimCode: time 1.513e-06/1.157, allocations: 0 / 1.122 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.01522/1.173, allocations: 3.048 MB / 1.125 GB, free: 8.98 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)