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.001478/0.001478, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.00194, allocations: 198 kB / 16.54 MB, free: 6.672 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.743/1.743, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.769/1.769, allocations: 251.7 MB / 0.5092 GB, free: 3.129 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.001969/0.001969, allocations: 75.89 kB / 0.6223 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7127/0.7147, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003389/0.7182, allocations: 2.033 MB / 0.7265 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.7193, allocations: 0.7055 MB / 0.7272 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.7194, allocations: 0 / 0.7272 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.018e-05/0.7195, allocations: 19.73 kB / 0.7272 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.7196, allocations: 51.5 kB / 0.7273 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.7201, allocations: 151.7 kB / 0.7274 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.7204, allocations: 323.1 kB / 0.7277 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.7206, allocations: 48.38 kB / 0.7278 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.7208, allocations: 127.6 kB / 0.7279 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.721, allocations: 147.4 kB / 0.728 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.218e-05/0.7211, allocations: 28 kB / 0.7281 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.488e-05/0.7211, allocations: 36 kB / 0.7281 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.7212, allocations: 79.78 kB / 0.7282 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.7213, allocations: 131.4 kB / 0.7283 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.7216, allocations: 309 kB / 0.7286 GB, free: 8.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7216, allocations: 0 / 0.7286 GB, free: 8.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7216, allocations: 0 / 0.7286 GB, free: 8.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.7217, allocations: 0 / 0.7286 GB, free: 8.75 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.001144/0.7228, allocations: 0.6197 MB / 0.7292 GB, free: 8.086 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.7228, allocations: 8.031 kB / 0.7292 GB, free: 8.078 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.7229, allocations: 32.56 kB / 0.7292 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.7231, allocations: 200.9 kB / 0.7294 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.7233, allocations: 272.2 kB / 0.7297 GB, free: 7.492 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.7233, allocations: 28.38 kB / 0.7297 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.7238, allocations: 265.8 kB / 0.73 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.7238, allocations: 0 / 0.73 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.7238, allocations: 8 kB / 0.73 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.7239, allocations: 4 kB / 0.73 GB, free: 7.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.7243, allocations: 183.8 kB / 0.7302 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.7253, allocations: 0.7737 MB / 0.7309 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.7258, allocations: 209.8 kB / 0.7311 GB, free: 5.938 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.7261, allocations: 134.5 kB / 0.7312 GB, free: 5.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.7261, allocations: 15.97 kB / 0.7313 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005598/0.7267, allocations: 303.6 kB / 0.7315 GB, free: 5.461 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 1.462e-06/0.7267, allocations: 7.938 kB / 0.7316 GB, free: 5.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.0009579/0.7277, allocations: 482.2 kB / 0.732 GB, free: 4.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.7278, allocations: 114.8 kB / 0.7321 GB, free: 4.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.7279, allocations: 179.4 kB / 0.7323 GB, free: 4.652 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.728, allocations: 49.62 kB / 0.7323 GB, free: 4.598 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.7281, allocations: 121.3 kB / 0.7325 GB, free: 4.477 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.7282, allocations: 142 kB / 0.7326 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.7284, allocations: 110.3 kB / 0.7327 GB, free: 4.219 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.7285, allocations: 338.8 kB / 0.733 GB, free: 3.879 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.7288, allocations: 145.2 kB / 0.7332 GB, free: 3.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.7292, allocations: 261.6 kB / 0.7334 GB, free: 3.445 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.7298, allocations: 398 kB / 0.7338 GB, free: 3.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7298, allocations: 0 / 0.7338 GB, free: 3.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008207/0.7307, allocations: 497 kB / 0.7343 GB, free: 2.527 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.7307, allocations: 4 kB / 0.7343 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.7307, allocations: 4 kB / 0.7343 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.7308, allocations: 4 kB / 0.7343 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.7311, allocations: 99.83 kB / 0.7344 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.7312, allocations: 11.92 kB / 0.7344 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.7314, allocations: 59.66 kB / 0.7344 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.7315, allocations: 20 kB / 0.7345 GB, free: 2.328 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.000205/0.7317, allocations: 159.9 kB / 0.7346 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.7318, allocations: 31.64 kB / 0.7346 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.564e-05/0.7318, allocations: 29.97 kB / 0.7347 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.7319, allocations: 15.98 kB / 0.7347 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.7319, allocations: 0 / 0.7347 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.7319, allocations: 3.984 kB / 0.7347 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.7323, allocations: 349.2 kB / 0.735 GB, free: 1.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7323, allocations: 0 / 0.735 GB, free: 1.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.7327, allocations: 79.83 kB / 0.7351 GB, free: 1.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.7327, allocations: 4 kB / 0.7351 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.7328, allocations: 15.98 kB / 0.7351 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.7328, allocations: 4 kB / 0.7351 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7328, allocations: 0 / 0.7351 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009886/0.7338, allocations: 0.5839 MB / 0.7357 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.7339, allocations: 104.7 kB / 0.7358 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.7339, allocations: 20.05 kB / 0.7358 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.7341, allocations: 31.97 kB / 0.7358 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.7343, allocations: 55.94 kB / 0.7359 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.7343, allocations: 15.98 kB / 0.7359 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.428e-05/0.7344, allocations: 125.2 kB / 0.736 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7344, allocations: 0 / 0.736 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000307/0.7347, allocations: 76 kB / 0.7361 GB, free: 0.5469 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.0002093/0.7349, allocations: 129.2 kB / 0.7362 GB, free: 424 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007644/0.7357, allocations: 400.4 kB / 0.7366 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7357, allocations: 0 / 0.7366 GB, free: 24 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.7361, allocations: 211.5 kB / 0.7368 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.7365, allocations: 47.92 kB / 0.7369 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.7379, allocations: 0.6103 MB / 0.7374 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.7383, allocations: 0.7685 MB / 0.7382 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.7385, allocations: 42.95 kB / 0.7382 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.7386, allocations: 35.44 kB / 0.7383 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.7386, allocations: 0 / 0.7383 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.007528/0.7461, allocations: 4.016 MB / 0.7422 GB, free: 10.27 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)