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.001641/0.001641, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002596/0.002596, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 62.7 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3742, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.00471/0.379, allocations: 1.968 MB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.3804, allocations: 0.6543 MB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.3806, allocations: 8 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.957e-05/0.3807, allocations: 19.73 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.3809, allocations: 39.58 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/0.3816, allocations: 151.7 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.3821, allocations: 319.2 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.3824, allocations: 52.36 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.3827, allocations: 131.6 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.383, allocations: 155.3 kB / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.718e-05/0.3831, allocations: 36 kB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.015e-05/0.3832, allocations: 28 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.708e-05/0.3832, allocations: 75.78 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.3834, allocations: 127.4 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.3839, allocations: 307.3 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3839, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.384e-06/0.384, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.384, allocations: 0 / 1.072 GB, free: 6.336 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.001844/0.3858, allocations: 0.6273 MB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/0.3859, allocations: 8.031 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.3861, allocations: 36.64 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.3863, allocations: 200.8 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.3866, allocations: 264.3 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.3867, allocations: 28.36 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.3872, allocations: 261.8 kB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.3873, allocations: 3.906 kB / 1.074 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.3873, allocations: 19.97 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3873, allocations: 8 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.3878, allocations: 175.8 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.389, allocations: 0.7814 MB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.3895, allocations: 208.6 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.3898, allocations: 134.5 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.3898, allocations: 7.984 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006077/0.3904, allocations: 311.9 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 4.138e-06/0.3904, allocations: 0 / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.001052/0.3915, allocations: 483.1 kB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.531e-05/0.3916, allocations: 122.7 kB / 1.076 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.3918, allocations: 175.5 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.3918, allocations: 41.7 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.363e-05/0.3919, allocations: 113.3 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3921, allocations: 149.9 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.3922, allocations: 102.3 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3924, allocations: 342.8 kB / 1.077 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.3927, allocations: 149.2 kB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.3931, allocations: 248.8 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/0.3938, allocations: 406 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3938, allocations: 4 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008568/0.3947, allocations: 485.4 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3947, allocations: 9.562 kB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3947, allocations: 4.141 kB / 1.078 GB, free: 100 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.3948, allocations: 12 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.3952, allocations: 91.88 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.3952, allocations: 11.98 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.3955, allocations: 55.52 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.3955, allocations: 20 kB / 1.078 GB, free: 15.91 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.0001929/0.3957, allocations: 169 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.3958, allocations: 31.59 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.3959, allocations: 33.88 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3959, allocations: 11.92 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.3959, allocations: 96 / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3959, allocations: 3.984 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.3963, allocations: 357.2 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3963, allocations: 4 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.3967, allocations: 71.83 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.3967, allocations: 8 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.3968, allocations: 12 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3968, allocations: 4 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3968, allocations: 3.984 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.3979, allocations: 0.5861 MB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.398, allocations: 104.7 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.398, allocations: 8 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.3983, allocations: 31.97 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.3984, allocations: 55.92 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.3984, allocations: 16 kB / 1.079 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.536e-05/0.3985, allocations: 129.1 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3985, allocations: 4 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003565/0.3989, allocations: 83.91 kB / 1.08 GB, free: 14.11 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.0002056/0.3991, allocations: 122.8 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008991/0.4, allocations: 406.6 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4, allocations: 8 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004292/0.4005, allocations: 198.6 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.4008, allocations: 43.91 kB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.4023, allocations: 0.6063 MB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.4027, allocations: 0.7686 MB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.4029, allocations: 34.97 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.403, allocations: 43.36 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.403, allocations: 0 / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of Templates: time 0.00857/0.4116, allocations: 3.994 MB / 1.086 GB, free: 7.863 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)