Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 108.3 kB / 19.72 MB, free: 416 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002204/0.002204, allocations: 215.2 kB / 23.02 MB, free: 2.957 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.795/1.795, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.514/3.514, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003966/0.003966, allocations: 67.89 kB / 1.177 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.007, allocations: 180 MB / 1.353 GB, free: 1.598 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003773/1.011, allocations: 1.923 MB / 1.355 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.00151/1.012, allocations: 0.6973 MB / 1.356 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/1.013, allocations: 0 / 1.356 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 6.97e-05/1.013, allocations: 19.73 kB / 1.356 GB, free: 14.94 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/1.013, allocations: 43.52 kB / 1.356 GB, free: 14.9 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000572/1.013, allocations: 175.7 kB / 1.356 GB, free: 14.73 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004242/1.014, allocations: 327.1 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/1.014, allocations: 36.91 kB / 1.356 GB, free: 14.37 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/1.014, allocations: 151.5 kB / 1.356 GB, free: 14.22 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/1.014, allocations: 131.4 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.858e-05/1.014, allocations: 28 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.911e-05/1.015, allocations: 32 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/1.015, allocations: 75.8 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/1.015, allocations: 123.5 kB / 1.357 GB, free: 13.84 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003923/1.015, allocations: 321.5 kB / 1.357 GB, free: 13.53 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.015, allocations: 0 / 1.357 GB, free: 13.53 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.303e-06/1.015, allocations: 0 / 1.357 GB, free: 13.53 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.694e-06/1.015, allocations: 0 / 1.357 GB, free: 13.53 MB / 1.042 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.001315/1.016, allocations: 0.5713 MB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/1.017, allocations: 12.92 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/1.017, allocations: 56.77 kB / 1.358 GB, free: 12.86 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/1.017, allocations: 195 kB / 1.358 GB, free: 12.64 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004278/1.018, allocations: 499.6 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/1.018, allocations: 28.36 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/1.018, allocations: 261.8 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/1.018, allocations: 11.98 kB / 1.358 GB, free: 11.74 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/1.018, allocations: 11.98 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/1.018, allocations: 8 kB / 1.359 GB, free: 11.72 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/1.019, allocations: 171.8 kB / 1.359 GB, free: 11.55 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/1.02, allocations: 0.6564 MB / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/1.02, allocations: 199.7 kB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/1.021, allocations: 126.5 kB / 1.36 GB, free: 10.5 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/1.021, allocations: 8 kB / 1.36 GB, free: 10.49 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005646/1.021, allocations: 311.4 kB / 1.36 GB, free: 10.16 MB / 1.042 GB Notification: Performance of pre-optimization done (n=48): time 1.763e-06/1.021, allocations: 0 / 1.36 GB, free: 10.16 MB / 1.042 GB Notification: Performance of matching and sorting (n=48): time 0.001112/1.022, allocations: 496 kB / 1.36 GB, free: 9.676 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/1.022, allocations: 122.7 kB / 1.361 GB, free: 9.531 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/1.023, allocations: 183.5 kB / 1.361 GB, free: 9.344 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/1.023, allocations: 37.7 kB / 1.361 GB, free: 9.301 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/1.023, allocations: 117.3 kB / 1.361 GB, free: 9.184 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/1.023, allocations: 162.7 kB / 1.361 GB, free: 9.023 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/1.023, allocations: 106.3 kB / 1.361 GB, free: 8.914 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001936/1.023, allocations: 334.8 kB / 1.361 GB, free: 8.578 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/1.024, allocations: 149.2 kB / 1.362 GB, free: 8.434 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/1.024, allocations: 256.8 kB / 1.362 GB, free: 8.145 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007007/1.025, allocations: 397.9 kB / 1.362 GB, free: 7.719 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.025, allocations: 0 / 1.362 GB, free: 7.719 MB / 1.042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009292/1.026, allocations: 493.2 kB / 1.363 GB, free: 7.23 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.026, allocations: 7.938 kB / 1.363 GB, free: 7.223 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.026, allocations: 4 kB / 1.363 GB, free: 7.219 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/1.026, allocations: 12 kB / 1.363 GB, free: 7.207 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/1.026, allocations: 91.83 kB / 1.363 GB, free: 7.117 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/1.026, allocations: 8 kB / 1.363 GB, free: 7.109 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/1.026, allocations: 55.7 kB / 1.363 GB, free: 7.055 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/1.026, allocations: 23.98 kB / 1.363 GB, free: 7.031 MB / 1.042 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.0001877/1.027, allocations: 163.3 kB / 1.363 GB, free: 6.863 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/1.027, allocations: 31.8 kB / 1.363 GB, free: 6.832 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.198e-05/1.027, allocations: 37.95 kB / 1.363 GB, free: 6.789 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/1.027, allocations: 4 kB / 1.363 GB, free: 6.785 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.027, allocations: 3.938 kB / 1.363 GB, free: 6.781 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.027, allocations: 8.078 kB / 1.363 GB, free: 6.773 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/1.027, allocations: 241 kB / 1.363 GB, free: 6.508 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/1.027, allocations: 4 kB / 1.363 GB, free: 6.504 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/1.028, allocations: 71.95 kB / 1.363 GB, free: 6.434 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.028, allocations: 4 kB / 1.363 GB, free: 6.43 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/1.028, allocations: 15.94 kB / 1.363 GB, free: 6.414 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/1.028, allocations: 8 kB / 1.363 GB, free: 6.406 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.028, allocations: 0 / 1.363 GB, free: 6.406 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/1.029, allocations: 0.59 MB / 1.364 GB, free: 5.793 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/1.029, allocations: 27.75 kB / 1.364 GB, free: 5.766 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/1.029, allocations: 19.92 kB / 1.364 GB, free: 5.746 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/1.029, allocations: 31.97 kB / 1.364 GB, free: 5.715 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/1.029, allocations: 55.91 kB / 1.364 GB, free: 5.66 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/1.029, allocations: 19.98 kB / 1.364 GB, free: 5.641 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001211/1.029, allocations: 128.4 kB / 1.364 GB, free: 5.516 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/1.029, allocations: 0 / 1.364 GB, free: 5.516 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003308/1.03, allocations: 76 kB / 1.364 GB, free: 5.441 MB / 1.042 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.0001765/1.03, allocations: 119.8 kB / 1.364 GB, free: 5.316 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000811/1.031, allocations: 371.9 kB / 1.365 GB, free: 4.953 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.031, allocations: 0 / 1.365 GB, free: 4.953 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004079/1.031, allocations: 180.4 kB / 1.365 GB, free: 4.777 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/1.031, allocations: 42.84 kB / 1.365 GB, free: 4.738 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/1.033, allocations: 0.6384 MB / 1.366 GB, free: 4.074 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/1.033, allocations: 160.2 kB / 1.366 GB, free: 3.895 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.000165/1.033, allocations: 42.95 kB / 1.366 GB, free: 3.852 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/1.033, allocations: 35.44 kB / 1.366 GB, free: 3.816 MB / 1.042 GB Notification: Performance of SimCode: time 4.81e-07/1.033, allocations: 0 / 1.366 GB, free: 3.816 MB / 1.042 GB Notification: Performance of Templates: time 0.0116/1.045, allocations: 4.257 MB / 1.37 GB, free: 15.62 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.074650662951171]