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.0009102/0.0009103, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001146/0.001146, allocations: 182.9 kB / 16.28 MB, free: 6.656 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.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.853/2.853, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006374/0.000638, allocations: 12.25 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4089, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002274/0.4113, allocations: 1.674 MB / 1.076 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.4124, allocations: 0.6389 MB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.4125, allocations: 4 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/0.4125, allocations: 11.81 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.4127, allocations: 31.7 kB / 1.076 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.4131, allocations: 131.8 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000302/0.4134, allocations: 307.1 kB / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.4136, allocations: 52.36 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.4138, allocations: 103.6 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.4139, allocations: 143.4 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.414, allocations: 16 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.263e-05/0.414, allocations: 12 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.4141, allocations: 63.78 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.4142, allocations: 149.1 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.4145, allocations: 275.2 kB / 1.078 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4145, allocations: 3.984 kB / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4145, allocations: 0 / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4145, allocations: 0 / 1.078 GB, free: 3.898 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.001151/0.4157, allocations: 0.6118 MB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4157, allocations: 12.03 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.4158, allocations: 28.66 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.416, allocations: 204.7 kB / 1.079 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.4162, allocations: 264.3 kB / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.4162, allocations: 32.36 kB / 1.079 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.4168, allocations: 269.9 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.4168, allocations: 3.906 kB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.4168, allocations: 8 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.4169, allocations: 7.938 kB / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.4173, allocations: 207.8 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.4184, allocations: 0.7736 MB / 1.08 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.4189, allocations: 215.7 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.4191, allocations: 135.3 kB / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.4192, allocations: 15.92 kB / 1.08 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005394/0.4197, allocations: 319.9 kB / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 1.984e-06/0.4197, allocations: 0 / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.001044/0.4208, allocations: 0.4952 MB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.4209, allocations: 114.8 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.4211, allocations: 175.5 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.4211, allocations: 37.7 kB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.4212, allocations: 121.2 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.4214, allocations: 146 kB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.4214, allocations: 61.69 kB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4216, allocations: 334.8 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.4219, allocations: 157.2 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.4223, allocations: 256.8 kB / 1.082 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.423, allocations: 410 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.423, allocations: 0 / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008665/0.4238, allocations: 0.493 MB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4239, allocations: 12 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4239, allocations: 0 / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.4239, allocations: 8 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.4243, allocations: 99.81 kB / 1.083 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.4243, allocations: 7.938 kB / 1.083 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.4247, allocations: 79.56 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.4247, allocations: 16 kB / 1.084 GB, free: 13.42 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.0001683/0.4249, allocations: 168.4 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.4249, allocations: 31.64 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.87e-05/0.425, allocations: 29.88 kB / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.425, allocations: 8 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.425, allocations: 4 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.4251, allocations: 3.984 kB / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.4254, allocations: 349.2 kB / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4255, allocations: 0 / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.4259, allocations: 83.91 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4259, allocations: 96 / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.4259, allocations: 19.92 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.4259, allocations: 4 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4259, allocations: 7.984 kB / 1.084 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.427, allocations: 0.5979 MB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.4271, allocations: 104.7 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.4272, allocations: 15.98 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.4274, allocations: 39.97 kB / 1.085 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.4276, allocations: 55.92 kB / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.4276, allocations: 19.98 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.048e-05/0.4277, allocations: 129.1 kB / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4277, allocations: 0 / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003525/0.4281, allocations: 83.91 kB / 1.085 GB, free: 11.59 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.0002222/0.4283, allocations: 123.3 kB / 1.085 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008183/0.4291, allocations: 396.5 kB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4291, allocations: 4 kB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.4296, allocations: 205.5 kB / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.43, allocations: 41.23 kB / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.4311, allocations: 0.7335 MB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.4315, allocations: 0.7608 MB / 1.087 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.4316, allocations: 42.95 kB / 1.088 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.4317, allocations: 31.44 kB / 1.088 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.4318, allocations: 0 / 1.088 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of Templates: time 0.007774/0.4395, allocations: 3.385 MB / 1.091 GB, free: 5.844 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)