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_nonZeroStart.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01028/0.01028, allocations: 102.3 kB / 15.73 MB, free: 6.008 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.001579/0.001579, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.686/1.686, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.688/1.688, allocations: 251.7 MB / 0.5094 GB, free: 3.07 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.002063/0.002063, allocations: 75.89 kB / 0.7259 GB, free: 8.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3042, allocations: 104.7 MB / 0.8281 GB, free: 152 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.004093/0.3084, allocations: 2.032 MB / 0.8301 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3097, allocations: 0.7019 MB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-05/0.3099, allocations: 0 / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.034e-05/0.3099, allocations: 19.73 kB / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.3101, allocations: 47.58 kB / 0.8309 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.3106, allocations: 147.7 kB / 0.831 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.3109, allocations: 327.1 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.3111, allocations: 52.31 kB / 0.8314 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.3113, allocations: 127.6 kB / 0.8315 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.3115, allocations: 155.3 kB / 0.8316 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.3116, allocations: 32 kB / 0.8317 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.173e-05/0.3116, allocations: 28 kB / 0.8317 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.98e-05/0.3117, allocations: 75.8 kB / 0.8318 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.3119, allocations: 139.3 kB / 0.8319 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.3122, allocations: 298.9 kB / 0.8322 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3122, allocations: 4 kB / 0.8322 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3122, allocations: 4 kB / 0.8322 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.3122, allocations: 3.938 kB / 0.8322 GB, free: 11.96 MB / 0.6544 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.001356/0.3136, allocations: 0.6198 MB / 0.8328 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.3137, allocations: 12.02 kB / 0.8328 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.58e-05/0.3138, allocations: 36.56 kB / 0.8328 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.314, allocations: 200.8 kB / 0.833 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/0.3142, allocations: 264.3 kB / 0.8333 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.3143, allocations: 36.27 kB / 0.8333 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.3148, allocations: 265.9 kB / 0.8336 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.3148, allocations: 0 / 0.8336 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.3148, allocations: 8 kB / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.3149, allocations: 4 kB / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.3153, allocations: 175.8 kB / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.3164, allocations: 0.7775 MB / 0.8345 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/0.3169, allocations: 207.7 kB / 0.8347 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.3172, allocations: 136.1 kB / 0.8348 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.3173, allocations: 11.98 kB / 0.8348 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006023/0.3179, allocations: 319.4 kB / 0.8351 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 1.923e-06/0.3179, allocations: 3.938 kB / 0.8352 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.00106/0.319, allocations: 483.1 kB / 0.8356 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.319, allocations: 114.8 kB / 0.8357 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.3192, allocations: 183.4 kB / 0.8359 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.3193, allocations: 41.7 kB / 0.8359 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.3194, allocations: 113.3 kB / 0.836 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.3195, allocations: 157.9 kB / 0.8362 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.3197, allocations: 102.3 kB / 0.8363 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.3199, allocations: 342.8 kB / 0.8366 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.3202, allocations: 145.2 kB / 0.8368 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.3206, allocations: 260.7 kB / 0.837 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.3212, allocations: 390.1 kB / 0.8374 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3212, allocations: 0 / 0.8374 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008244/0.3221, allocations: 497.3 kB / 0.8379 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3221, allocations: 4 kB / 0.8379 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3221, allocations: 8 kB / 0.8379 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3221, allocations: 4 kB / 0.8379 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.3225, allocations: 95.83 kB / 0.838 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.3225, allocations: 7.938 kB / 0.838 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.3228, allocations: 59.66 kB / 0.838 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.3229, allocations: 23.98 kB / 0.838 GB, free: 5.531 MB / 0.6544 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.0002105/0.3231, allocations: 162.8 kB / 0.8382 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.3231, allocations: 31.66 kB / 0.8382 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.09e-05/0.3232, allocations: 33.86 kB / 0.8383 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3232, allocations: 4.062 kB / 0.8383 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.3233, allocations: 8 kB / 0.8383 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3233, allocations: 4.078 kB / 0.8383 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.3237, allocations: 357.1 kB / 0.8386 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3237, allocations: 0 / 0.8386 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.324, allocations: 79.83 kB / 0.8387 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3241, allocations: 4 kB / 0.8387 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.3241, allocations: 15.98 kB / 0.8387 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.3241, allocations: 4 kB / 0.8387 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3241, allocations: 0 / 0.8387 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.3252, allocations: 0.5823 MB / 0.8393 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.3253, allocations: 104.7 kB / 0.8394 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.3253, allocations: 12 kB / 0.8394 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.3256, allocations: 31.95 kB / 0.8394 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.3257, allocations: 51.94 kB / 0.8395 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.3258, allocations: 15.98 kB / 0.8395 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001145/0.3259, allocations: 125.2 kB / 0.8396 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.3259, allocations: 8 kB / 0.8396 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003325/0.3262, allocations: 75.94 kB / 0.8397 GB, free: 3.746 MB / 0.6544 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.0002272/0.3265, allocations: 127.2 kB / 0.8398 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007648/0.3272, allocations: 382.6 kB / 0.8402 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.3272, allocations: 4 kB / 0.8402 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.3276, allocations: 191.7 kB / 0.8404 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.328, allocations: 45.55 kB / 0.8404 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3292, allocations: 0.6067 MB / 0.841 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.3297, allocations: 0.7686 MB / 0.8418 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000146/0.3298, allocations: 34.97 kB / 0.8418 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3299, allocations: 43.38 kB / 0.8418 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.3299, allocations: 3.938 kB / 0.8418 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of Templates: time 0.00889/0.3388, allocations: 3.983 MB / 0.8457 GB, free: 13.55 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)