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.655/2.655, allocations: 285 MB / 292.5 MB, free: 10.54 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.001475/0.001475, allocations: 184.8 kB / 360.7 MB, free: 7.234 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.458/2.458, allocations: 205.3 MB / 0.6192 GB, free: 12.14 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.001055/0.001054, allocations: 98.36 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.835e-05, allocations: 8 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8092/0.8093, allocations: 115.3 MB / 0.9635 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2367/1.046, allocations: 137.7 MB / 1.098 GB, free: 2.789 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/1.046, allocations: 75.89 kB / 1.098 GB, free: 2.715 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04115/1.088, allocations: 8.558 MB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.943e-06/1.088, allocations: 2.297 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.42e-05/1.088, allocations: 4 kB / 1.106 GB, free: 10.22 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.001733/1.089, allocations: 0.608 MB / 1.107 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/1.09, allocations: 9.25 kB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/1.09, allocations: 27.72 kB / 1.107 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/1.09, allocations: 191.6 kB / 1.107 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002778/1.09, allocations: 251.8 kB / 1.107 GB, free: 9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-05/1.09, allocations: 23.98 kB / 1.107 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005336/1.091, allocations: 132.9 kB / 1.108 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/1.091, allocations: 221.5 kB / 1.108 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/1.091, allocations: 7.906 kB / 1.108 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/1.092, allocations: 0 / 1.108 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/1.092, allocations: 4 kB / 1.108 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/1.093, allocations: 0.7471 MB / 1.109 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/1.094, allocations: 179.3 kB / 1.109 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/1.094, allocations: 112.9 kB / 1.109 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-05/1.095, allocations: 16.16 kB / 1.109 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006604/1.095, allocations: 276.2 kB / 1.109 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 3.286e-06/1.095, allocations: 0 / 1.109 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0009484/1.096, allocations: 305.6 kB / 1.109 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/1.096, allocations: 122.8 kB / 1.109 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/1.096, allocations: 150.5 kB / 1.11 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/1.097, allocations: 37.64 kB / 1.11 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/1.097, allocations: 117.3 kB / 1.11 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/1.097, allocations: 138 kB / 1.11 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/1.097, allocations: 7.938 kB / 1.11 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.097, allocations: 338.8 kB / 1.11 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/1.097, allocations: 113.6 kB / 1.11 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/1.098, allocations: 220.5 kB / 1.111 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/1.098, allocations: 130.7 kB / 1.111 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/1.098, allocations: 4 kB / 1.111 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001101/1.1, allocations: 399.1 kB / 1.111 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.1, allocations: 4 kB / 1.111 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.1, allocations: 11.98 kB / 1.111 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/1.1, allocations: 4 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/1.1, allocations: 99.83 kB / 1.111 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/1.1, allocations: 4 kB / 1.111 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/1.101, allocations: 59.66 kB / 1.111 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/1.101, allocations: 24 kB / 1.111 GB, free: 4.855 MB / 0.7136 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.0001999/1.101, allocations: 130.9 kB / 1.111 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/1.101, allocations: 31.62 kB / 1.111 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/1.101, allocations: 25.97 kB / 1.111 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.101, allocations: 7.938 kB / 1.111 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/1.101, allocations: 0 / 1.111 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/1.101, allocations: 7.984 kB / 1.111 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/1.102, allocations: 313.8 kB / 1.112 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/1.102, allocations: 0 / 1.112 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008489/1.103, allocations: 83.83 kB / 1.112 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/1.103, allocations: 3.953 kB / 1.112 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/1.103, allocations: 7.984 kB / 1.112 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/1.103, allocations: 7.062 kB / 1.112 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.103, allocations: 1.328 kB / 1.112 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/1.104, allocations: 0.5233 MB / 1.112 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/1.105, allocations: 100.9 kB / 1.112 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.045e-05/1.105, allocations: 11.94 kB / 1.112 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/1.105, allocations: 39.95 kB / 1.113 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.105, allocations: 35.95 kB / 1.113 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/1.105, allocations: 18.89 kB / 1.113 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001324/1.105, allocations: 116.1 kB / 1.113 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.105, allocations: 0 / 1.113 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005112/1.106, allocations: 64 kB / 1.113 GB, free: 3.258 MB / 0.7136 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.0002384/1.106, allocations: 112.2 kB / 1.113 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009392/1.107, allocations: 316.2 kB / 1.113 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.107, allocations: 0 / 1.113 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004449/1.108, allocations: 159.7 kB / 1.113 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/1.108, allocations: 36.11 kB / 1.113 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/1.11, allocations: 478.5 kB / 1.114 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/1.11, allocations: 0.7725 MB / 1.115 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003622/1.11, allocations: 43.45 kB / 1.115 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/1.111, allocations: 31.42 kB / 1.115 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/1.111, allocations: 0 / 1.115 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of Templates: time 0.009944/1.121, allocations: 2.831 MB / 1.117 GB, free: 14.52 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)