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.01052/0.01053, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.002049/0.002049, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.783/1.783, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.644/1.644, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001756/0.001756, allocations: 79.81 kB / 0.7259 GB, free: 8.938 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2995, allocations: 104.7 MB / 0.8281 GB, free: 140 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.004393/0.3039, allocations: 2.048 MB / 0.8301 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3055, allocations: 0.6941 MB / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.3058, allocations: 0 / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.532e-05/0.3059, allocations: 23.72 kB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.3061, allocations: 39.58 kB / 0.8308 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.3067, allocations: 151.8 kB / 0.831 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.3071, allocations: 331 kB / 0.8313 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.3073, allocations: 44.33 kB / 0.8314 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.3075, allocations: 131.6 kB / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.3077, allocations: 155.3 kB / 0.8316 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.3077, allocations: 28 kB / 0.8317 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.232e-05/0.3078, allocations: 32 kB / 0.8317 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.624e-05/0.3079, allocations: 75.8 kB / 0.8318 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.308, allocations: 131.4 kB / 0.8319 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.3083, allocations: 310.9 kB / 0.8322 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3084, allocations: 4 kB / 0.8322 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3084, allocations: 0 / 0.8322 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.3084, allocations: 0 / 0.8322 GB, free: 11.94 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.001265/0.3096, allocations: 0.6159 MB / 0.8328 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3097, allocations: 15.97 kB / 0.8328 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.491e-05/0.3098, allocations: 40.55 kB / 0.8328 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.31, allocations: 196.9 kB / 0.833 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.3102, allocations: 264.3 kB / 0.8333 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.3103, allocations: 40.25 kB / 0.8333 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.3107, allocations: 261.8 kB / 0.8336 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.3108, allocations: 0 / 0.8336 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.3108, allocations: 7.984 kB / 0.8336 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.3108, allocations: 12 kB / 0.8336 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.3112, allocations: 171.9 kB / 0.8337 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3123, allocations: 0.7775 MB / 0.8345 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.3129, allocations: 207.7 kB / 0.8347 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.3131, allocations: 134.5 kB / 0.8348 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.3132, allocations: 4 kB / 0.8348 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000576/0.3137, allocations: 323.5 kB / 0.8351 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 3.997e-06/0.3138, allocations: 4 kB / 0.8351 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.001021/0.3148, allocations: 482.9 kB / 0.8356 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.3149, allocations: 118.8 kB / 0.8357 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.315, allocations: 175.4 kB / 0.8359 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.3151, allocations: 41.7 kB / 0.8359 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.3152, allocations: 117.3 kB / 0.836 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.3153, allocations: 161.9 kB / 0.8362 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.3154, allocations: 98.34 kB / 0.8363 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3156, allocations: 342.8 kB / 0.8366 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.3159, allocations: 149.2 kB / 0.8368 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.3162, allocations: 256.8 kB / 0.837 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006115/0.3169, allocations: 398 kB / 0.8374 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3169, allocations: 0 / 0.8374 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007662/0.3176, allocations: 485.4 kB / 0.8378 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3177, allocations: 8 kB / 0.8379 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3177, allocations: 7.984 kB / 0.8379 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.3177, allocations: 4 kB / 0.8379 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.3181, allocations: 99.89 kB / 0.838 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3181, allocations: 8 kB / 0.838 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.3184, allocations: 55.66 kB / 0.838 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.3184, allocations: 20 kB / 0.838 GB, free: 5.52 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.0001745/0.3186, allocations: 169.8 kB / 0.8382 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.3187, allocations: 27.66 kB / 0.8382 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.036e-05/0.3188, allocations: 33.81 kB / 0.8383 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3188, allocations: 15.92 kB / 0.8383 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.3188, allocations: 0 / 0.8383 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3188, allocations: 4 kB / 0.8383 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.3192, allocations: 353.1 kB / 0.8386 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3192, allocations: 0 / 0.8386 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.3196, allocations: 79.83 kB / 0.8387 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3196, allocations: 0 / 0.8387 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.3196, allocations: 16 kB / 0.8387 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3196, allocations: 3.938 kB / 0.8387 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3196, allocations: 3.984 kB / 0.8387 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009908/0.3206, allocations: 0.5745 MB / 0.8393 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.3207, allocations: 108.7 kB / 0.8394 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.3208, allocations: 8 kB / 0.8394 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.321, allocations: 31.97 kB / 0.8394 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.3211, allocations: 63.95 kB / 0.8395 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.3212, allocations: 16 kB / 0.8395 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.26e-05/0.3213, allocations: 125.2 kB / 0.8396 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.3213, allocations: 0 / 0.8396 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003083/0.3216, allocations: 83.94 kB / 0.8397 GB, free: 3.727 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.0002352/0.3218, allocations: 119.1 kB / 0.8398 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007335/0.3226, allocations: 386.6 kB / 0.8402 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3226, allocations: 4 kB / 0.8402 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.3229, allocations: 187.7 kB / 0.8404 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.3233, allocations: 44.05 kB / 0.8404 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.3245, allocations: 0.6104 MB / 0.841 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.3248, allocations: 0.7684 MB / 0.8417 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.325, allocations: 47.12 kB / 0.8418 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3251, allocations: 39.56 kB / 0.8418 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.3251, allocations: 0 / 0.8418 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of Templates: time 0.007644/0.3327, allocations: 3.975 MB / 0.8457 GB, free: 13.53 MB / 0.67 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)