Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001317, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.777/1.777, allocations: 251.9 MB / 0.51 GB, free: 4.875 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006053/0.0006059, allocations: 16 kB / 0.6241 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6555/0.6562, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002597/0.6588, allocations: 1.657 MB / 0.7296 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.6602, allocations: 0.6711 MB / 0.7303 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.6603, allocations: 0 / 0.7303 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.711e-05/0.6604, allocations: 11.86 kB / 0.7303 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.6606, allocations: 39.86 kB / 0.7303 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.6611, allocations: 123.7 kB / 0.7304 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.6615, allocations: 191.6 kB / 0.7306 GB, free: 8.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.6617, allocations: 40.38 kB / 0.7307 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003564/0.662, allocations: 107.7 kB / 0.7308 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.6623, allocations: 139.4 kB / 0.7309 GB, free: 8.426 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.6624, allocations: 16 kB / 0.7309 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.715e-05/0.6624, allocations: 12 kB / 0.7309 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.6625, allocations: 67.72 kB / 0.731 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.806e-05/0.6626, allocations: 65.58 kB / 0.731 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.6629, allocations: 213.4 kB / 0.7312 GB, free: 8.055 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6629, allocations: 0 / 0.7312 GB, free: 8.055 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6629, allocations: 0 / 0.7312 GB, free: 8.055 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.6629, allocations: 0 / 0.7312 GB, free: 8.055 MB / 0.545 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.001413/0.6643, allocations: 0.6041 MB / 0.7318 GB, free: 7.406 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.6644, allocations: 8.031 kB / 0.7318 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.6645, allocations: 39.61 kB / 0.7319 GB, free: 7.359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.6648, allocations: 199.5 kB / 0.7321 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.6651, allocations: 263.8 kB / 0.7323 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.51e-05/0.6651, allocations: 24 kB / 0.7323 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.6657, allocations: 265.8 kB / 0.7326 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.6657, allocations: 0 / 0.7326 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.6658, allocations: 11.98 kB / 0.7326 GB, free: 6.504 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.6658, allocations: 4 kB / 0.7326 GB, free: 6.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004571/0.6663, allocations: 191.8 kB / 0.7328 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.6675, allocations: 0.7816 MB / 0.7336 GB, free: 5.473 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.6681, allocations: 208.5 kB / 0.7338 GB, free: 5.242 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.167e-05/0.6682, allocations: 16.12 kB / 0.7338 GB, free: 5.227 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000609/0.6688, allocations: 315.6 kB / 0.7341 GB, free: 4.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 4.369e-06/0.6688, allocations: 3.984 kB / 0.7341 GB, free: 4.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001131/0.6699, allocations: 0.4944 MB / 0.7346 GB, free: 4.391 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.67, allocations: 118.8 kB / 0.7347 GB, free: 4.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.6702, allocations: 175.4 kB / 0.7348 GB, free: 4.062 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.6703, allocations: 41.7 kB / 0.7349 GB, free: 4.016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.808e-05/0.6704, allocations: 117.3 kB / 0.735 GB, free: 3.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.6706, allocations: 150 kB / 0.7351 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.6706, allocations: 16 kB / 0.7352 GB, free: 3.734 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.6708, allocations: 334.8 kB / 0.7355 GB, free: 3.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.6711, allocations: 153.2 kB / 0.7356 GB, free: 3.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.6716, allocations: 252.8 kB / 0.7359 GB, free: 2.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.6719, allocations: 175.9 kB / 0.736 GB, free: 2.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/0.6719, allocations: 0 / 0.736 GB, free: 2.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008848/0.6728, allocations: 493.5 kB / 0.7365 GB, free: 2.305 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.6729, allocations: 12 kB / 0.7365 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.6729, allocations: 4.078 kB / 0.7365 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.6729, allocations: 4 kB / 0.7365 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.6733, allocations: 95.83 kB / 0.7366 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.6733, allocations: 11.98 kB / 0.7366 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.6736, allocations: 75.59 kB / 0.7367 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.6737, allocations: 24.05 kB / 0.7367 GB, free: 2.082 MB / 0.545 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.0001766/0.6738, allocations: 160 kB / 0.7369 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.6739, allocations: 35.58 kB / 0.7369 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.308e-05/0.674, allocations: 37.8 kB / 0.7369 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.674, allocations: 8 kB / 0.7369 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.674, allocations: 0 / 0.7369 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.674, allocations: 4 kB / 0.7369 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.6744, allocations: 357.1 kB / 0.7373 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6744, allocations: 0 / 0.7373 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.6749, allocations: 79.89 kB / 0.7374 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.6749, allocations: 4 kB / 0.7374 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.675, allocations: 19.94 kB / 0.7374 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.675, allocations: 0 / 0.7374 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.675, allocations: 4 kB / 0.7374 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.6763, allocations: 0.6233 MB / 0.738 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.338e-05/0.6764, allocations: 100.9 kB / 0.7381 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.6764, allocations: 11.98 kB / 0.7381 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.6767, allocations: 51.95 kB / 0.7382 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.6768, allocations: 35.95 kB / 0.7382 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.6769, allocations: 15.98 kB / 0.7382 GB, free: 452 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001099/0.677, allocations: 125.2 kB / 0.7383 GB, free: 328 kB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.677, allocations: 0 / 0.7383 GB, free: 328 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003895/0.6774, allocations: 72 kB / 0.7384 GB, free: 256 kB / 0.545 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.0002971/0.6777, allocations: 130.4 kB / 0.7385 GB, free: 120 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009936/0.6787, allocations: 390.6 kB / 0.7389 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6787, allocations: 4 kB / 0.7389 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.6791, allocations: 188 kB / 0.7391 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.6794, allocations: 39.09 kB / 0.7391 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.6809, allocations: 0.698 MB / 0.7398 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.6814, allocations: 0.7764 MB / 0.7406 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001865/0.6816, allocations: 38.95 kB / 0.7406 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.6817, allocations: 31.44 kB / 0.7406 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/0.6818, allocations: 4 kB / 0.7406 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.008245/0.69, allocations: 3.025 MB / 0.7436 GB, free: 10.91 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1) Environment - environmentSimulation: