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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009817/0.0009818, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007446/0.007446, allocations: 170.6 kB / 16.27 MB, free: 6.652 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: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004433, allocations: 15.92 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3645, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001408/0.3659, allocations: 0.8058 MB / 1.075 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3679, allocations: 1.112 MB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.368, allocations: 0 / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.992e-05/0.3681, allocations: 15.86 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.3683, allocations: 31.7 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.3688, allocations: 123.9 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.3692, allocations: 307.1 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.3694, allocations: 44.25 kB / 1.077 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.3697, allocations: 119.6 kB / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.37, allocations: 135.4 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.37, allocations: 12 kB / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.3701, allocations: 20 kB / 1.077 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.3701, allocations: 63.78 kB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.3703, allocations: 145.1 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.3706, allocations: 291.1 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3706, allocations: 0 / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3706, allocations: 0 / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3706, allocations: 0 / 1.077 GB, free: 4.367 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.001367/0.372, allocations: 0.6157 MB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.3721, allocations: 8.031 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.3722, allocations: 36.66 kB / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.3724, allocations: 204.7 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.3727, allocations: 264.3 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.214e-05/0.3728, allocations: 32.36 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.3733, allocations: 262.3 kB / 1.079 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.3734, allocations: 15.78 kB / 1.079 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.3734, allocations: 8 kB / 1.079 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3734, allocations: 8 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.3739, allocations: 179.9 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.3751, allocations: 0.7853 MB / 1.08 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.3757, allocations: 215.7 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.376, allocations: 138.5 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.376, allocations: 7.984 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005943/0.3766, allocations: 319.9 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 6.862e-06/0.3766, allocations: 0 / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.001102/0.3777, allocations: 0.5033 MB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.3778, allocations: 110.8 kB / 1.081 GB, free: 388 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.378, allocations: 175.5 kB / 1.081 GB, free: 196 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.3781, allocations: 37.7 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.3781, allocations: 121.3 kB / 1.081 GB, free: 28 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.3783, allocations: 150.1 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.343e-05/0.3784, allocations: 57.69 kB / 1.081 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3785, allocations: 342.8 kB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.3789, allocations: 149.2 kB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.3793, allocations: 268.7 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000667/0.38, allocations: 402.1 kB / 1.082 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.046e-06/0.38, allocations: 4 kB / 1.082 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009173/0.3809, allocations: 0.4969 MB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.381, allocations: 7.938 kB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.381, allocations: 4 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.381, allocations: 8 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.3814, allocations: 95.83 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.3814, allocations: 11.98 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.3817, allocations: 71.56 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.3818, allocations: 24 kB / 1.083 GB, free: 13.87 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.0001765/0.382, allocations: 159.5 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.382, allocations: 31.64 kB / 1.083 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.399e-05/0.3821, allocations: 33.88 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3821, allocations: 7.938 kB / 1.083 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3821, allocations: 3.938 kB / 1.083 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3821, allocations: 7.984 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.3825, allocations: 353.2 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.3826, allocations: 7.984 kB / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.383, allocations: 71.91 kB / 1.084 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.383, allocations: 7.938 kB / 1.084 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.383, allocations: 11.98 kB / 1.084 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.383, allocations: 4 kB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3831, allocations: 3.938 kB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.3842, allocations: 0.598 MB / 1.084 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.3842, allocations: 100.8 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.3843, allocations: 23.98 kB / 1.085 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.3846, allocations: 43.97 kB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.3847, allocations: 55.92 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.3847, allocations: 12.09 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.762e-05/0.3848, allocations: 137.1 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3849, allocations: 0 / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003557/0.3852, allocations: 83.91 kB / 1.085 GB, free: 12.04 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.0002587/0.3855, allocations: 126.6 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007861/0.3863, allocations: 396.6 kB / 1.085 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3863, allocations: 0 / 1.085 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.3867, allocations: 208.6 kB / 1.086 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3871, allocations: 39.92 kB / 1.086 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.3884, allocations: 0.7302 MB / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3888, allocations: 0.7648 MB / 1.087 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001698/0.3889, allocations: 38.95 kB / 1.087 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.3891, allocations: 27.44 kB / 1.087 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3891, allocations: 0 / 1.087 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of Templates: time 0.007449/0.3965, allocations: 3.381 MB / 1.09 GB, free: 6.301 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1)