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.0009867/0.0009867, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00117/0.00117, allocations: 172.7 kB / 15.95 MB, free: 208 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.797/1.797, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.612/1.612, allocations: 252 MB / 0.5102 GB, free: 4.797 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.0006194/0.0006196, allocations: 16 kB / 0.6243 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6068/0.6074, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002415/0.6099, allocations: 1.685 MB / 0.7298 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.611, allocations: 0.6709 MB / 0.7304 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.475e-05/0.6111, allocations: 3.938 kB / 0.7305 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.6111, allocations: 11.86 kB / 0.7305 GB, free: 9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.6113, allocations: 39.69 kB / 0.7305 GB, free: 8.961 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.6117, allocations: 111.8 kB / 0.7306 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.6121, allocations: 295.1 kB / 0.7309 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.6123, allocations: 40.38 kB / 0.7309 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.6125, allocations: 111.7 kB / 0.731 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.6127, allocations: 135.5 kB / 0.7312 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.6127, allocations: 12 kB / 0.7312 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.71e-05/0.6128, allocations: 16 kB / 0.7312 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.6129, allocations: 67.78 kB / 0.7313 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.613, allocations: 65.58 kB / 0.7313 GB, free: 8.117 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.6133, allocations: 205.4 kB / 0.7315 GB, free: 7.918 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.6133, allocations: 0 / 0.7315 GB, free: 7.918 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.006e-06/0.6133, allocations: 0 / 0.7315 GB, free: 7.918 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.6133, allocations: 0 / 0.7315 GB, free: 7.918 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.001488/0.6148, allocations: 0.608 MB / 0.7321 GB, free: 7.266 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.6149, allocations: 12.02 kB / 0.7321 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.262e-05/0.615, allocations: 35.62 kB / 0.7322 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.6152, allocations: 195.6 kB / 0.7323 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.6155, allocations: 263.8 kB / 0.7326 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.794e-05/0.6155, allocations: 31.98 kB / 0.7326 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.616, allocations: 261.7 kB / 0.7329 GB, free: 6.375 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.87e-05/0.616, allocations: 4 kB / 0.7329 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.6161, allocations: 8 kB / 0.7329 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.6161, allocations: 4 kB / 0.7329 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.6165, allocations: 195.8 kB / 0.7331 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.6176, allocations: 0.7778 MB / 0.7338 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.6181, allocations: 202.3 kB / 0.734 GB, free: 5.109 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.6185, allocations: 142.8 kB / 0.7342 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.6185, allocations: 12.19 kB / 0.7342 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005732/0.6191, allocations: 323.6 kB / 0.7345 GB, free: 4.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.525e-06/0.6191, allocations: 0 / 0.7345 GB, free: 4.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.00101/0.6201, allocations: 494.3 kB / 0.735 GB, free: 4.121 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.6202, allocations: 122.7 kB / 0.7351 GB, free: 3.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.6204, allocations: 179.3 kB / 0.7352 GB, free: 3.785 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.6205, allocations: 41.7 kB / 0.7353 GB, free: 3.738 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.6206, allocations: 117.3 kB / 0.7354 GB, free: 3.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.6207, allocations: 153.9 kB / 0.7355 GB, free: 3.469 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.6208, allocations: 12 kB / 0.7356 GB, free: 3.457 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6209, allocations: 342.8 kB / 0.7359 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.6212, allocations: 149.2 kB / 0.736 GB, free: 2.965 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.6216, allocations: 256.8 kB / 0.7363 GB, free: 2.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.6219, allocations: 175.9 kB / 0.7364 GB, free: 2.508 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.622, allocations: 0 / 0.7364 GB, free: 2.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008899/0.6228, allocations: 0.493 MB / 0.7369 GB, free: 2.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.6229, allocations: 8 kB / 0.7369 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6229, allocations: 0 / 0.7369 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.6229, allocations: 8 kB / 0.7369 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.6233, allocations: 103.8 kB / 0.737 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.6233, allocations: 8 kB / 0.737 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.6236, allocations: 67.66 kB / 0.7371 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.6237, allocations: 20 kB / 0.7371 GB, free: 1.797 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.0002905/0.624, allocations: 160 kB / 0.7373 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.624, allocations: 35.52 kB / 0.7373 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.7e-05/0.6241, allocations: 29.88 kB / 0.7373 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.6241, allocations: 8 kB / 0.7373 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.6241, allocations: 4 kB / 0.7373 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.6241, allocations: 3.984 kB / 0.7373 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.6246, allocations: 365.1 kB / 0.7377 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.6246, allocations: 0 / 0.7377 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.625, allocations: 75.89 kB / 0.7378 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.625, allocations: 0 / 0.7378 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.625, allocations: 19.95 kB / 0.7378 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.625, allocations: 0 / 0.7378 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.625, allocations: 4 kB / 0.7378 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.6262, allocations: 0.5902 MB / 0.7384 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.6262, allocations: 108.8 kB / 0.7385 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.6263, allocations: 11.94 kB / 0.7385 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.6265, allocations: 47.92 kB / 0.7385 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.6266, allocations: 39.94 kB / 0.7386 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.6266, allocations: 12 kB / 0.7386 GB, free: 204 kB / 0.545 GB Notification: Performance of sorting global known variables: time 9.555e-05/0.6267, allocations: 125.2 kB / 0.7387 GB, free: 80 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6268, allocations: 3.938 kB / 0.7387 GB, free: 76 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003339/0.6271, allocations: 80.23 kB / 0.7388 GB, free: 15.99 MB / 0.5606 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.0002013/0.6273, allocations: 119.2 kB / 0.7389 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007571/0.6281, allocations: 397.5 kB / 0.7393 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6281, allocations: 8 kB / 0.7393 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.6284, allocations: 180.8 kB / 0.7395 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.6288, allocations: 51.5 kB / 0.7395 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.63, allocations: 0.7034 MB / 0.7402 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.6304, allocations: 0.7686 MB / 0.7409 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.6306, allocations: 38.97 kB / 0.741 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.6307, allocations: 35.42 kB / 0.741 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.6307, allocations: 0 / 0.741 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.006582/0.6373, allocations: 3.037 MB / 0.744 GB, free: 10.64 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: