Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001358/0.001358, allocations: 195.4 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.994/2.994, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 63.59 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3748, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004524/0.3794, allocations: 2.028 MB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3807, allocations: 0.6389 MB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.3808, allocations: 4 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.039e-05/0.3809, allocations: 11.86 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.381, allocations: 31.7 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.3814, allocations: 135.8 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.3817, allocations: 307.1 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.3819, allocations: 48.38 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.3821, allocations: 119.6 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.3822, allocations: 143.4 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.3823, allocations: 16 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.994e-05/0.3823, allocations: 20 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.3824, allocations: 63.78 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3825, allocations: 123.4 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.3828, allocations: 291.3 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3828, allocations: 0 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3828, allocations: 4 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.3828, allocations: 0 / 1.071 GB, free: 6.914 MB / 0.8262 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.001224/0.3841, allocations: 0.6274 MB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.3841, allocations: 8.031 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.83e-05/0.3842, allocations: 32.64 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3844, allocations: 204.8 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.3846, allocations: 268.3 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.3847, allocations: 28.31 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.3852, allocations: 269.8 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.3852, allocations: 3.906 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.3853, allocations: 8 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.3853, allocations: 4 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.3857, allocations: 179.8 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.3868, allocations: 0.7814 MB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/0.3872, allocations: 203.7 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.3875, allocations: 133.3 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.3875, allocations: 15.98 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005948/0.3881, allocations: 307.7 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 2.304e-06/0.3882, allocations: 4 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.001084/0.3893, allocations: 491.6 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.3893, allocations: 114.8 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3895, allocations: 179.5 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.3896, allocations: 41.7 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.3896, allocations: 113.3 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3898, allocations: 146 kB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.3899, allocations: 106.3 kB / 1.076 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3901, allocations: 342.8 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.3904, allocations: 149.2 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.3908, allocations: 244.8 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006938/0.3915, allocations: 402 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.3915, allocations: 4 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009345/0.3925, allocations: 497.2 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.3925, allocations: 4 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3925, allocations: 4 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.3925, allocations: 8 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.3929, allocations: 91.83 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.3929, allocations: 11.98 kB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.3932, allocations: 63.56 kB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.3933, allocations: 23.94 kB / 1.077 GB, free: 488 kB / 0.8262 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 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.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.000197/0.3935, allocations: 163.5 kB / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/0.3936, allocations: 31.64 kB / 1.077 GB, free: 284 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.802e-05/0.3937, allocations: 29.88 kB / 1.077 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.3937, allocations: 8 kB / 1.077 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.3937, allocations: 0 / 1.077 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3937, allocations: 3.984 kB / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005833/0.3943, allocations: 353.2 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3943, allocations: 0 / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.3948, allocations: 75.84 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.066e-06/0.3949, allocations: 4 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.3949, allocations: 15.98 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.3949, allocations: 4 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3949, allocations: 0 / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.3964, allocations: 0.5822 MB / 1.078 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.682e-05/0.3965, allocations: 104.7 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.884e-05/0.3966, allocations: 16.17 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.3969, allocations: 28.03 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.3971, allocations: 67.86 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.3971, allocations: 19.98 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001053/0.3972, allocations: 125.2 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3972, allocations: 0 / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004205/0.3976, allocations: 83.91 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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.0002288/0.3979, allocations: 122.4 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009351/0.3988, allocations: 386.6 kB / 1.079 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3988, allocations: 0 / 1.079 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.3993, allocations: 200.7 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.3997, allocations: 39.92 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.401, allocations: 0.6998 MB / 1.08 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.4014, allocations: 0.7647 MB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.4016, allocations: 34.97 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.4017, allocations: 35.42 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.4017, allocations: 4 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of Templates: time 0.008402/0.4101, allocations: 3.41 MB / 1.084 GB, free: 8.965 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1)