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.001324/0.001324, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001292/0.001292, allocations: 192.6 kB / 16.14 MB, free: 6.703 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.805/1.805, allocations: 205.1 MB / 222 MB, free: 4.766 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.628/1.628, allocations: 251.7 MB / 0.5088 GB, free: 3.301 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.00139/0.00139, allocations: 67.92 kB / 0.6216 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8/0.8014, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003688/0.8051, allocations: 2.092 MB / 0.7259 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.8063, allocations: 0.7017 MB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.8064, allocations: 4 kB / 0.7266 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.171e-05/0.8064, allocations: 15.84 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.8066, allocations: 35.7 kB / 0.7266 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.8071, allocations: 131.8 kB / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.8074, allocations: 307.1 kB / 0.727 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.8076, allocations: 52.36 kB / 0.7271 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.8078, allocations: 111.6 kB / 0.7272 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.8079, allocations: 143.4 kB / 0.7273 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.808, allocations: 16 kB / 0.7273 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.919e-05/0.808, allocations: 16 kB / 0.7273 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.8081, allocations: 71.72 kB / 0.7274 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.8082, allocations: 127.4 kB / 0.7275 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.8086, allocations: 281 kB / 0.7278 GB, free: 9.051 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.8086, allocations: 0 / 0.7278 GB, free: 9.051 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8086, allocations: 4 kB / 0.7278 GB, free: 9.047 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.8086, allocations: 0 / 0.7278 GB, free: 9.047 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.00133/0.8099, allocations: 0.6276 MB / 0.7284 GB, free: 8.375 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.81, allocations: 15.97 kB / 0.7284 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.128e-05/0.8101, allocations: 32.56 kB / 0.7285 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.8103, allocations: 192.9 kB / 0.7287 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/0.8106, allocations: 268.2 kB / 0.7289 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.8106, allocations: 32.38 kB / 0.7289 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.8112, allocations: 265.8 kB / 0.7292 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.8112, allocations: 0 / 0.7292 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.8112, allocations: 8 kB / 0.7292 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.8112, allocations: 8 kB / 0.7292 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.8117, allocations: 175.8 kB / 0.7294 GB, free: 7.293 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.8128, allocations: 0.7775 MB / 0.7301 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.8133, allocations: 215.7 kB / 0.7303 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.8136, allocations: 126.5 kB / 0.7305 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.753e-05/0.8136, allocations: 19.95 kB / 0.7305 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006241/0.8142, allocations: 311.6 kB / 0.7308 GB, free: 5.738 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 1.563e-06/0.8143, allocations: 0 / 0.7308 GB, free: 5.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001038/0.8153, allocations: 487 kB / 0.7312 GB, free: 5.258 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/0.8154, allocations: 114.8 kB / 0.7314 GB, free: 5.121 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.8156, allocations: 179.4 kB / 0.7315 GB, free: 4.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.8156, allocations: 37.7 kB / 0.7316 GB, free: 4.891 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.8157, allocations: 121.3 kB / 0.7317 GB, free: 4.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.8159, allocations: 150 kB / 0.7318 GB, free: 4.621 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.816, allocations: 110.3 kB / 0.7319 GB, free: 4.504 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8162, allocations: 338.8 kB / 0.7322 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.8165, allocations: 149.2 kB / 0.7324 GB, free: 4.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.8169, allocations: 248.8 kB / 0.7326 GB, free: 3.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.8175, allocations: 398 kB / 0.733 GB, free: 3.312 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8175, allocations: 0 / 0.733 GB, free: 3.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008202/0.8183, allocations: 0.4935 MB / 0.7335 GB, free: 2.812 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.8184, allocations: 5.875 kB / 0.7335 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.8184, allocations: 8 kB / 0.7335 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.8184, allocations: 4 kB / 0.7335 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.8188, allocations: 95.83 kB / 0.7336 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.8188, allocations: 4 kB / 0.7336 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.8191, allocations: 63.64 kB / 0.7337 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.8192, allocations: 20 kB / 0.7337 GB, free: 2.617 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.0001807/0.8194, allocations: 161.7 kB / 0.7338 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.8194, allocations: 27.66 kB / 0.7339 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.866e-05/0.8195, allocations: 33.86 kB / 0.7339 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.8195, allocations: 7.938 kB / 0.7339 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.8196, allocations: 4.094 kB / 0.7339 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.8196, allocations: 7.969 kB / 0.7339 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.82, allocations: 353.2 kB / 0.7342 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/0.82, allocations: 4 kB / 0.7343 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.8204, allocations: 83.77 kB / 0.7343 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.8204, allocations: 4 kB / 0.7343 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.8205, allocations: 11.98 kB / 0.7343 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.8205, allocations: 3.938 kB / 0.7344 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8205, allocations: 4 kB / 0.7344 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.8216, allocations: 0.5824 MB / 0.7349 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.8216, allocations: 104.7 kB / 0.735 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.8217, allocations: 8 kB / 0.735 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.8219, allocations: 35.95 kB / 0.7351 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.8221, allocations: 59.92 kB / 0.7351 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.8221, allocations: 8 kB / 0.7351 GB, free: 1.031 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001114/0.8222, allocations: 133.2 kB / 0.7353 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8222, allocations: 0 / 0.7353 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003386/0.8226, allocations: 72 kB / 0.7353 GB, free: 0.832 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.0002282/0.8228, allocations: 119.3 kB / 0.7354 GB, free: 0.707 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007663/0.8236, allocations: 382.6 kB / 0.7358 GB, free: 340 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.8236, allocations: 7.938 kB / 0.7358 GB, free: 332 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004112/0.824, allocations: 195.7 kB / 0.736 GB, free: 136 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.8244, allocations: 47.91 kB / 0.736 GB, free: 88 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.8256, allocations: 0.6931 MB / 0.7367 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.826, allocations: 0.7647 MB / 0.7375 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001656/0.8261, allocations: 42.95 kB / 0.7375 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.8262, allocations: 31.38 kB / 0.7375 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.8263, allocations: 0 / 0.7375 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.00724/0.8335, allocations: 3.439 MB / 0.7409 GB, free: 11.09 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)