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.001142/0.001142, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001237/0.001236, allocations: 192.1 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.583/1.583, allocations: 251.6 MB / 0.5089 GB, free: 3.262 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.001366/0.001366, allocations: 67.91 kB / 0.6218 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6999/0.7013, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.005187/0.7066, allocations: 2.09 MB / 0.726 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.7083, allocations: 0.6979 MB / 0.7267 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.7084, allocations: 0 / 0.7267 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.437e-05/0.7085, allocations: 23.78 kB / 0.7268 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.7087, allocations: 35.7 kB / 0.7268 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.7093, allocations: 131.8 kB / 0.7269 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.7099, allocations: 331.1 kB / 0.7272 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.7101, allocations: 48.38 kB / 0.7273 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.7104, allocations: 127.7 kB / 0.7274 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.7107, allocations: 151.3 kB / 0.7275 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.024e-05/0.7108, allocations: 28 kB / 0.7276 GB, free: 9.418 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.524e-05/0.7109, allocations: 32 kB / 0.7276 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.815e-05/0.711, allocations: 75.8 kB / 0.7277 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.7112, allocations: 139.3 kB / 0.7278 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.7115, allocations: 293 kB / 0.7281 GB, free: 8.891 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.7116, allocations: 11.98 kB / 0.7281 GB, free: 8.879 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.484e-06/0.7116, allocations: 0 / 0.7281 GB, free: 8.879 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.7116, allocations: 0 / 0.7281 GB, free: 8.879 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.001506/0.7131, allocations: 0.6236 MB / 0.7287 GB, free: 8.211 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.7132, allocations: 12.03 kB / 0.7287 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.7133, allocations: 32.56 kB / 0.7287 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.7135, allocations: 192.9 kB / 0.7289 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/0.7139, allocations: 268.2 kB / 0.7292 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.714, allocations: 28.38 kB / 0.7292 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/0.7146, allocations: 273.8 kB / 0.7295 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.7147, allocations: 0 / 0.7295 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.7147, allocations: 4 kB / 0.7295 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.7148, allocations: 11.94 kB / 0.7295 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.7152, allocations: 175.8 kB / 0.7297 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.7165, allocations: 0.7854 MB / 0.7304 GB, free: 6.285 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.717, allocations: 207.7 kB / 0.7306 GB, free: 6.055 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.7173, allocations: 126.5 kB / 0.7307 GB, free: 5.922 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/0.7174, allocations: 19.98 kB / 0.7308 GB, free: 5.902 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000602/0.718, allocations: 307.6 kB / 0.7311 GB, free: 5.578 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.144e-06/0.718, allocations: 0 / 0.7311 GB, free: 5.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001504/0.7195, allocations: 486.4 kB / 0.7315 GB, free: 5.098 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/0.7197, allocations: 118.8 kB / 0.7316 GB, free: 4.957 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.7199, allocations: 175.4 kB / 0.7318 GB, free: 4.773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.72, allocations: 41.7 kB / 0.7318 GB, free: 4.727 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.7201, allocations: 121.3 kB / 0.732 GB, free: 4.605 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.7202, allocations: 150 kB / 0.7321 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.7204, allocations: 106.3 kB / 0.7322 GB, free: 4.344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.7205, allocations: 338.8 kB / 0.7325 GB, free: 4.004 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.7208, allocations: 149.2 kB / 0.7327 GB, free: 3.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.7213, allocations: 256.7 kB / 0.7329 GB, free: 3.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.7219, allocations: 394 kB / 0.7333 GB, free: 3.148 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7219, allocations: 4 kB / 0.7333 GB, free: 3.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009253/0.7228, allocations: 497.3 kB / 0.7338 GB, free: 2.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.7229, allocations: 6.031 kB / 0.7338 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.7229, allocations: 4 kB / 0.7338 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.7229, allocations: 4.094 kB / 0.7338 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.7233, allocations: 99.81 kB / 0.7339 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.7233, allocations: 4 kB / 0.7339 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.7236, allocations: 67.64 kB / 0.7339 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.7236, allocations: 20 kB / 0.734 GB, free: 2.453 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 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.mode,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.7238, allocations: 159.9 kB / 0.7341 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.7239, allocations: 27.66 kB / 0.7341 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.479e-05/0.724, allocations: 33.86 kB / 0.7342 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.724, allocations: 7.938 kB / 0.7342 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.724, allocations: 4 kB / 0.7342 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.724, allocations: 3.984 kB / 0.7342 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.7244, allocations: 353.2 kB / 0.7345 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7244, allocations: 0 / 0.7345 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.7248, allocations: 79.83 kB / 0.7346 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.7248, allocations: 4 kB / 0.7346 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.7249, allocations: 19.92 kB / 0.7346 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.7249, allocations: 0 / 0.7346 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7249, allocations: 4 kB / 0.7346 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.7259, allocations: 0.5822 MB / 0.7352 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.7261, allocations: 108.7 kB / 0.7353 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.7261, allocations: 8 kB / 0.7353 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.7264, allocations: 31.95 kB / 0.7353 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.7265, allocations: 59.94 kB / 0.7354 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/0.7266, allocations: 15.98 kB / 0.7354 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001014/0.7267, allocations: 125.2 kB / 0.7355 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7267, allocations: 0 / 0.7355 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003215/0.727, allocations: 76 kB / 0.7356 GB, free: 0.6719 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002414/0.7272, allocations: 119.3 kB / 0.7357 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008161/0.7281, allocations: 403.4 kB / 0.7361 GB, free: 156 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7281, allocations: 4 kB / 0.7361 GB, free: 152 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.7285, allocations: 203.7 kB / 0.7363 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.7288, allocations: 45.61 kB / 0.7363 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.7301, allocations: 0.6974 MB / 0.737 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.7306, allocations: 0.7647 MB / 0.7378 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001593/0.7308, allocations: 42.94 kB / 0.7378 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.7309, allocations: 35.44 kB / 0.7378 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.7309, allocations: 0 / 0.7378 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.007805/0.7388, allocations: 3.638 MB / 0.7414 GB, free: 10.71 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (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)