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.0101/0.0101, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.002007/0.002007, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.752/1.752, 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.668/1.668, allocations: 251.7 MB / 0.5094 GB, free: 2.953 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.001815/0.001815, allocations: 71.91 kB / 0.7259 GB, free: 8.949 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3261, allocations: 104.7 MB / 0.8281 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.004399/0.3306, allocations: 2.04 MB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3323, allocations: 0.6981 MB / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.3326, allocations: 0 / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.3327, allocations: 23.67 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.3331, allocations: 47.58 kB / 0.8309 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.3338, allocations: 147.7 kB / 0.831 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005238/0.3343, allocations: 327 kB / 0.8313 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.3346, allocations: 48.33 kB / 0.8314 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003966/0.335, allocations: 135.6 kB / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.3353, allocations: 151.3 kB / 0.8316 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.272e-05/0.3354, allocations: 32 kB / 0.8317 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.554e-05/0.3355, allocations: 28 kB / 0.8317 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.3356, allocations: 71.8 kB / 0.8318 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.3358, allocations: 147.3 kB / 0.8319 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.3362, allocations: 298.9 kB / 0.8322 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3363, allocations: 0 / 0.8322 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3363, allocations: 4 kB / 0.8322 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.3363, allocations: 0 / 0.8322 GB, free: 11.95 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.001619/0.3379, allocations: 0.6237 MB / 0.8328 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.338, allocations: 12.02 kB / 0.8328 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.3381, allocations: 36.56 kB / 0.8328 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.3383, allocations: 196.8 kB / 0.833 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/0.3386, allocations: 268.3 kB / 0.8333 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/0.3387, allocations: 32.27 kB / 0.8333 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.3392, allocations: 257.9 kB / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.3393, allocations: 7.984 kB / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.3393, allocations: 8 kB / 0.8336 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.3393, allocations: 7.984 kB / 0.8336 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.3398, allocations: 179.8 kB / 0.8338 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.3411, allocations: 0.7775 MB / 0.8345 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/0.3416, allocations: 203.7 kB / 0.8347 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.3419, allocations: 130.5 kB / 0.8348 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.185e-05/0.3419, allocations: 11.94 kB / 0.8348 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005828/0.3425, allocations: 323.5 kB / 0.8352 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 3.266e-06/0.3426, allocations: 4 kB / 0.8352 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.001057/0.3436, allocations: 479 kB / 0.8356 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.3437, allocations: 110.8 kB / 0.8357 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.3439, allocations: 187.4 kB / 0.8359 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.3439, allocations: 37.7 kB / 0.8359 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.344, allocations: 117.3 kB / 0.836 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.3442, allocations: 153.9 kB / 0.8362 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.3444, allocations: 102.3 kB / 0.8363 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3445, allocations: 346.8 kB / 0.8366 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/0.3448, allocations: 145.2 kB / 0.8368 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.3452, allocations: 256.7 kB / 0.837 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.3459, allocations: 390.1 kB / 0.8374 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.3459, allocations: 4 kB / 0.8374 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009084/0.3468, allocations: 493 kB / 0.8378 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3469, allocations: 8 kB / 0.8379 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3469, allocations: 4 kB / 0.8379 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.3469, allocations: 8 kB / 0.8379 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.3473, allocations: 91.83 kB / 0.838 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.3473, allocations: 15.88 kB / 0.838 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.3476, allocations: 51.66 kB / 0.838 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.3476, allocations: 27.98 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.0001761/0.3478, allocations: 162.9 kB / 0.8382 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.3479, allocations: 31.66 kB / 0.8382 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.599e-05/0.348, allocations: 37.86 kB / 0.8383 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.348, allocations: 8 kB / 0.8383 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.348, allocations: 0 / 0.8383 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.348, allocations: 0 / 0.8383 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.3484, allocations: 357.1 kB / 0.8386 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.3484, allocations: 0 / 0.8386 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.3488, allocations: 79.83 kB / 0.8387 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.3488, allocations: 8 kB / 0.8387 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.3489, allocations: 11.98 kB / 0.8387 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3489, allocations: 4 kB / 0.8387 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3489, allocations: 0 / 0.8387 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.3499, allocations: 0.5823 MB / 0.8393 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.35, allocations: 104.7 kB / 0.8394 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.35, allocations: 12 kB / 0.8394 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.3502, allocations: 31.95 kB / 0.8394 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.3504, allocations: 55.94 kB / 0.8395 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.3504, allocations: 11.98 kB / 0.8395 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.375e-05/0.3505, allocations: 125.2 kB / 0.8396 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3505, allocations: 7.938 kB / 0.8396 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003917/0.3509, allocations: 83.94 kB / 0.8397 GB, free: 3.73 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.0002269/0.3512, allocations: 119.3 kB / 0.8398 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007932/0.352, allocations: 385 kB / 0.8402 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.352, allocations: 4 kB / 0.8402 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003845/0.3524, allocations: 191.7 kB / 0.8404 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3527, allocations: 44.34 kB / 0.8404 GB, free: 3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3541, allocations: 0.6108 MB / 0.841 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.3545, allocations: 0.7762 MB / 0.8418 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.3547, allocations: 39.14 kB / 0.8418 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.3548, allocations: 39.44 kB / 0.8418 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/0.3548, allocations: 0 / 0.8418 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of Templates: time 0.009558/0.3644, allocations: 3.974 MB / 0.8457 GB, free: 13.54 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)