Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001249/0.001249, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00138/0.00138, allocations: 191 kB / 16.25 MB, free: 6.621 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.445/1.445, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 67.45 kB / 0.9116 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3736, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004154/0.3778, allocations: 2.026 MB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.3793, allocations: 0.6505 MB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.3796, allocations: 0 / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.3798, allocations: 11.86 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.3801, allocations: 31.7 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007235/0.3808, allocations: 143.7 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.3813, allocations: 315.2 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.3815, allocations: 56.36 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.3817, allocations: 135.5 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.382, allocations: 155.4 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.3821, allocations: 28 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.806e-05/0.3821, allocations: 28 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.3822, allocations: 75.8 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.3824, allocations: 143.3 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.3828, allocations: 295.3 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3828, allocations: 0 / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.617e-06/0.3828, allocations: 4 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.3828, allocations: 0 / 1.072 GB, free: 6.691 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.001498/0.3843, allocations: 0.6273 MB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3844, allocations: 19.97 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.625e-05/0.3845, allocations: 28.66 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.3846, allocations: 200.8 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002283/0.3849, allocations: 264.3 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.259e-05/0.3849, allocations: 28.38 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.3855, allocations: 257.9 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.3855, allocations: 7.906 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.3855, allocations: 11.98 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.3856, allocations: 8 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.386, allocations: 175.8 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.3876, allocations: 0.7775 MB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.3882, allocations: 211.7 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.3886, allocations: 134.5 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.827e-05/0.3886, allocations: 8 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007124/0.3893, allocations: 315.8 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 4.047e-06/0.3894, allocations: 0 / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.001263/0.3906, allocations: 483.9 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.3907, allocations: 122.8 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.391, allocations: 175.5 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.3911, allocations: 41.7 kB / 1.075 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3912, allocations: 113.3 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.3914, allocations: 146 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.3916, allocations: 110.3 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002315/0.3919, allocations: 338.8 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.3922, allocations: 145.2 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.3927, allocations: 256.7 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006796/0.3934, allocations: 394.1 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3934, allocations: 0 / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009221/0.3943, allocations: 489.1 kB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.3944, allocations: 9.719 kB / 1.077 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.3944, allocations: 8 kB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.3944, allocations: 4 kB / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.3948, allocations: 107.7 kB / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.3948, allocations: 4 kB / 1.077 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.3951, allocations: 59.56 kB / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.3952, allocations: 24.03 kB / 1.078 GB, free: 268 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.0002227/0.3954, allocations: 176.5 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.3955, allocations: 27.66 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.751e-05/0.3956, allocations: 29.88 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3956, allocations: 4 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.3956, allocations: 4 kB / 1.078 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.3956, allocations: 3.984 kB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.3961, allocations: 349.3 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.3961, allocations: 4 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.3965, allocations: 83.83 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3965, allocations: 0 / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.3965, allocations: 16 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3965, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3966, allocations: 4 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3976, allocations: 0.5745 MB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.3977, allocations: 112.7 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.3978, allocations: 12 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.398, allocations: 23.97 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.3981, allocations: 59.92 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.3982, allocations: 19.94 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001359/0.3983, allocations: 133.1 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3983, allocations: 0 / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003391/0.3987, allocations: 79.91 kB / 1.079 GB, free: 14.47 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.0002108/0.3989, allocations: 123.2 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008007/0.3997, allocations: 408.3 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3997, allocations: 0 / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.4001, allocations: 205.4 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.4005, allocations: 44.09 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.4017, allocations: 0.7001 MB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.4021, allocations: 0.7647 MB / 1.081 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.4023, allocations: 34.97 kB / 1.081 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.4024, allocations: 39.42 kB / 1.081 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of SimCode: time 7.92e-07/0.4024, allocations: 0 / 1.081 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.00794/0.4103, allocations: 3.596 MB / 1.085 GB, free: 8.531 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1)