Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001596/0.001596, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001774/0.001774, allocations: 189.4 kB / 16.25 MB, free: 6.629 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.612/1.612, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.2 MB / 0.5485 GB, free: 13.67 MB / 462.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.001439/0.00144, allocations: 70.8 kB / 0.671 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3176, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.00433/0.322, allocations: 2.018 MB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3234, allocations: 0.6788 MB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.3235, allocations: 0 / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.069e-05/0.3236, allocations: 15.8 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.3237, allocations: 31.7 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.3243, allocations: 135.8 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.3246, allocations: 323.1 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.3247, allocations: 44.38 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.3249, allocations: 135.7 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.3251, allocations: 159.3 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.3252, allocations: 32 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.5e-05/0.3252, allocations: 28 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.3253, allocations: 75.78 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.3255, allocations: 135.4 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.3258, allocations: 299.3 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3258, allocations: 0 / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3258, allocations: 0 / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.3258, allocations: 4 kB / 0.7869 GB, free: 9.773 MB / 0.6075 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.001244/0.3271, allocations: 0.6236 MB / 0.7875 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.3271, allocations: 12.03 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.404e-05/0.3272, allocations: 32.59 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.3274, allocations: 204.8 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.3276, allocations: 264.3 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.612e-05/0.3277, allocations: 28.38 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.3282, allocations: 261.8 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.3282, allocations: 7.906 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.3282, allocations: 15.92 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3283, allocations: 8 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.3287, allocations: 172.5 kB / 0.7884 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.3298, allocations: 0.7776 MB / 0.7892 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.3303, allocations: 211.7 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.3306, allocations: 130.5 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.953e-05/0.3307, allocations: 4 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006431/0.3313, allocations: 315.6 kB / 0.7898 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 3.747e-06/0.3313, allocations: 3.984 kB / 0.7898 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001048/0.3324, allocations: 480.6 kB / 0.7903 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001843/0.3326, allocations: 118.8 kB / 0.7904 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.3328, allocations: 180.5 kB / 0.7906 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.3328, allocations: 41.7 kB / 0.7906 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.3329, allocations: 117.2 kB / 0.7907 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.3331, allocations: 150 kB / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.3332, allocations: 102.3 kB / 0.791 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3334, allocations: 342.8 kB / 0.7913 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.3337, allocations: 145.2 kB / 0.7914 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.3341, allocations: 252.8 kB / 0.7917 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.3348, allocations: 398 kB / 0.7921 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3348, allocations: 0 / 0.7921 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008727/0.3357, allocations: 489.4 kB / 0.7925 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.3358, allocations: 8 kB / 0.7925 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3358, allocations: 7.938 kB / 0.7925 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.3358, allocations: 8 kB / 0.7925 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.3362, allocations: 99.81 kB / 0.7926 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.3363, allocations: 4 kB / 0.7926 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.3365, allocations: 59.5 kB / 0.7927 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.3366, allocations: 20 kB / 0.7927 GB, free: 3.363 MB / 0.6075 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.0002104/0.3368, allocations: 160 kB / 0.7929 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.3369, allocations: 31.66 kB / 0.7929 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.337, allocations: 33.88 kB / 0.7929 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.337, allocations: 7.938 kB / 0.7929 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.337, allocations: 0 / 0.7929 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.337, allocations: 7.984 kB / 0.7929 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/0.3375, allocations: 357.2 kB / 0.7933 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3375, allocations: 4.031 kB / 0.7933 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/0.3379, allocations: 79.83 kB / 0.7934 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3379, allocations: 3.984 kB / 0.7934 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.338, allocations: 16.06 kB / 0.7934 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.338, allocations: 0 / 0.7934 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.338, allocations: 4 kB / 0.7934 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3391, allocations: 0.5745 MB / 0.794 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.3392, allocations: 108.7 kB / 0.7941 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.3392, allocations: 16.02 kB / 0.7941 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.3394, allocations: 35.91 kB / 0.7941 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.3396, allocations: 55.92 kB / 0.7942 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.3396, allocations: 16 kB / 0.7942 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.277e-05/0.3397, allocations: 129.1 kB / 0.7943 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3397, allocations: 0 / 0.7943 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003373/0.3401, allocations: 83.91 kB / 0.7944 GB, free: 1.562 MB / 0.6075 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.0001903/0.3403, allocations: 123.1 kB / 0.7945 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008382/0.3411, allocations: 406.5 kB / 0.7949 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3411, allocations: 0 / 0.7949 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.3415, allocations: 196.7 kB / 0.7951 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3419, allocations: 52.78 kB / 0.7951 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.3434, allocations: 0.6927 MB / 0.7958 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/0.344, allocations: 0.7686 MB / 0.7965 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.3443, allocations: 34.97 kB / 0.7966 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.3444, allocations: 39.42 kB / 0.7966 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of SimCode: time 8.52e-07/0.3444, allocations: 192 / 0.7966 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.007599/0.352, allocations: 3.621 MB / 0.8002 GB, free: 11.61 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)