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.0008823/0.0008823, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006758/0.006758, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004704, allocations: 11.97 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4318, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002605/0.4345, allocations: 1.674 MB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.4362, allocations: 0.6427 MB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.4364, allocations: 4 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.182e-05/0.4364, allocations: 7.875 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.4366, allocations: 31.7 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.4372, allocations: 147.7 kB / 1.077 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004312/0.4377, allocations: 295.2 kB / 1.077 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.4379, allocations: 52.36 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.4383, allocations: 115.5 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.4386, allocations: 135.4 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.276e-05/0.4387, allocations: 16 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.245e-05/0.4387, allocations: 16 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.4388, allocations: 59.78 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.439, allocations: 145.1 kB / 1.077 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.4394, allocations: 279.2 kB / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4394, allocations: 0 / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.146e-06/0.4394, allocations: 4 kB / 1.078 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.4394, allocations: 0 / 1.078 GB, free: 3.883 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.001538/0.441, allocations: 0.6157 MB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.441, allocations: 8.031 kB / 1.078 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.4412, allocations: 28.66 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.4415, allocations: 200.8 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.4418, allocations: 268.3 kB / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.991e-05/0.4419, allocations: 28.36 kB / 1.079 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.4426, allocations: 273.8 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.4426, allocations: 7.906 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.4426, allocations: 4 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.4427, allocations: 8 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.4432, allocations: 191.8 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.4444, allocations: 0.7775 MB / 1.08 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.445, allocations: 215.7 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.4453, allocations: 142.5 kB / 1.08 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.4453, allocations: 11.98 kB / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005912/0.4459, allocations: 315.9 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 4.699e-06/0.4459, allocations: 3.938 kB / 1.081 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.001131/0.4471, allocations: 0.4952 MB / 1.081 GB, free: 44 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.4472, allocations: 114.8 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.4474, allocations: 175.4 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.4475, allocations: 45.7 kB / 1.081 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.4476, allocations: 113.2 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.4477, allocations: 150 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.783e-05/0.4478, allocations: 57.69 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.448, allocations: 338.8 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.4483, allocations: 157.2 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.4487, allocations: 256.8 kB / 1.082 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/0.4495, allocations: 410 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4495, allocations: 0 / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009917/0.4505, allocations: 0.4935 MB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.4505, allocations: 8 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4505, allocations: 4.156 kB / 1.083 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.4506, allocations: 4.094 kB / 1.083 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.451, allocations: 103.8 kB / 1.083 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.969e-05/0.451, allocations: 15.97 kB / 1.083 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.4513, allocations: 71.56 kB / 1.084 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.4514, allocations: 20 kB / 1.084 GB, free: 13.4 MB / 0.8419 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.0001992/0.4516, allocations: 164.5 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.4516, allocations: 31.64 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.955e-05/0.4517, allocations: 29.88 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.4517, allocations: 11.94 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4518, allocations: 0 / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.4518, allocations: 3.984 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.4522, allocations: 353.2 kB / 1.084 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.4522, allocations: 3.984 kB / 1.084 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.4526, allocations: 75.84 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4527, allocations: 8 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.4527, allocations: 15.98 kB / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4527, allocations: 0 / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.4527, allocations: 4 kB / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.4539, allocations: 0.5949 MB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/0.454, allocations: 104.8 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.4541, allocations: 15.92 kB / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.4543, allocations: 43.97 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.4545, allocations: 55.92 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.4545, allocations: 15.98 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.925e-05/0.4546, allocations: 129.3 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4547, allocations: 4 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000367/0.455, allocations: 83.84 kB / 1.085 GB, free: 11.58 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.0002036/0.4552, allocations: 127.1 kB / 1.085 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008572/0.4561, allocations: 398.6 kB / 1.086 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4561, allocations: 0 / 1.086 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.4566, allocations: 209.7 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.457, allocations: 44.48 kB / 1.086 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.4583, allocations: 0.7337 MB / 1.087 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.4587, allocations: 0.7648 MB / 1.087 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000174/0.4589, allocations: 38.95 kB / 1.088 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.459, allocations: 31.44 kB / 1.088 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.459, allocations: 0 / 1.088 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of Templates: time 0.007742/0.4667, allocations: 3.381 MB / 1.091 GB, free: 5.832 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)