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.00683/0.00683, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001186/0.001186, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.637/1.637, allocations: 205.1 MB / 222.5 MB, free: 4.375 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.675/1.675, allocations: 251.7 MB / 0.5094 GB, free: 3.016 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.001451/0.001451, allocations: 74.09 kB / 0.7259 GB, free: 8.938 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3071, 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.004733/0.3119, allocations: 2.033 MB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.3135, allocations: 0.7019 MB / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.3137, allocations: 0 / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.3138, allocations: 23.67 kB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.314, allocations: 43.58 kB / 0.8309 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006356/0.3147, allocations: 151.7 kB / 0.831 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005852/0.3153, allocations: 323.1 kB / 0.8313 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.3155, allocations: 52.27 kB / 0.8314 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.3159, allocations: 131.6 kB / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.3161, allocations: 147.4 kB / 0.8316 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.271e-05/0.3162, allocations: 32 kB / 0.8316 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.662e-05/0.3163, allocations: 28 kB / 0.8317 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3164, allocations: 79.78 kB / 0.8318 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.3166, allocations: 135.4 kB / 0.8319 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.317, allocations: 310.9 kB / 0.8322 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.317, allocations: 4 kB / 0.8322 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.134e-06/0.317, allocations: 0 / 0.8322 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.317, 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.001322/0.3183, allocations: 0.6198 MB / 0.8328 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3184, allocations: 8.031 kB / 0.8328 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.664e-05/0.3185, allocations: 32.56 kB / 0.8328 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.3187, allocations: 200.9 kB / 0.833 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.319, allocations: 272.3 kB / 0.8333 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.319, allocations: 28.28 kB / 0.8333 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.3195, allocations: 269.8 kB / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.3196, allocations: 0 / 0.8336 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.3196, allocations: 8 kB / 0.8336 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.3196, allocations: 4 kB / 0.8336 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.3201, allocations: 183.8 kB / 0.8337 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.3214, allocations: 0.7774 MB / 0.8345 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.3219, allocations: 207.7 kB / 0.8347 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.3221, allocations: 126.5 kB / 0.8348 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.423e-05/0.3222, allocations: 11.98 kB / 0.8348 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006141/0.3228, allocations: 319.3 kB / 0.8351 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 2.595e-06/0.3228, allocations: 224 / 0.8351 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.001145/0.324, allocations: 482.9 kB / 0.8356 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.059e-05/0.3241, allocations: 122.8 kB / 0.8357 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.3243, allocations: 179.4 kB / 0.8359 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/0.3243, allocations: 41.7 kB / 0.8359 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.3244, allocations: 117.3 kB / 0.836 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.3246, allocations: 150 kB / 0.8362 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.3247, allocations: 110.3 kB / 0.8363 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3249, allocations: 338.8 kB / 0.8366 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.3252, allocations: 145.2 kB / 0.8368 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.3256, allocations: 252.8 kB / 0.837 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006738/0.3263, allocations: 401.9 kB / 0.8374 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3263, allocations: 0 / 0.8374 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008638/0.3272, allocations: 497.1 kB / 0.8379 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3272, allocations: 8 kB / 0.8379 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.577e-06/0.3272, allocations: 4 kB / 0.8379 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.3272, allocations: 4 kB / 0.8379 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.3276, allocations: 95.83 kB / 0.838 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.3276, allocations: 7.984 kB / 0.838 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.3279, allocations: 59.66 kB / 0.838 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.328, 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.000171/0.3281, allocations: 170.4 kB / 0.8382 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.3282, allocations: 27.66 kB / 0.8382 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.283e-05/0.3283, allocations: 33.86 kB / 0.8383 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3283, allocations: 8 kB / 0.8383 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3283, allocations: 3.938 kB / 0.8383 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.3283, allocations: 3.984 kB / 0.8383 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.3287, allocations: 349.2 kB / 0.8386 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3287, allocations: 0 / 0.8386 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.3291, allocations: 79.83 kB / 0.8387 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3291, allocations: 8 kB / 0.8387 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.3292, allocations: 15.98 kB / 0.8387 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3292, allocations: 4 kB / 0.8387 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3292, allocations: 0 / 0.8387 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.3303, allocations: 0.5784 MB / 0.8393 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.588e-05/0.3304, allocations: 104.7 kB / 0.8394 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.3304, allocations: 15.98 kB / 0.8394 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.3306, allocations: 27.97 kB / 0.8394 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.3308, allocations: 55.94 kB / 0.8395 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.3308, allocations: 15.98 kB / 0.8395 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001502/0.331, allocations: 129.2 kB / 0.8396 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.331, allocations: 0 / 0.8396 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003064/0.3313, allocations: 75.94 kB / 0.8397 GB, free: 3.738 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.0002831/0.3316, allocations: 123.3 kB / 0.8398 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007376/0.3323, allocations: 392.2 kB / 0.8402 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3323, allocations: 4 kB / 0.8402 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.3327, allocations: 187.8 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.0003377/0.3331, allocations: 49.91 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.001276/0.3344, allocations: 0.6026 MB / 0.841 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/0.3351, allocations: 0.7762 MB / 0.8418 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001501/0.3353, allocations: 39.14 kB / 0.8418 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3354, allocations: 39.42 kB / 0.8418 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.3354, allocations: 3.938 kB / 0.8418 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of Templates: time 0.009297/0.3447, allocations: 3.979 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)