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.001735/0.001735, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001851/0.001851, allocations: 173.6 kB / 23.24 MB, free: 1.324 MB / 18.57 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.684/1.684, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.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.259/3.259, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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 2.775e-06/2.775e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.501e-05, allocations: 5.797 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004009/0.004044, allocations: 1.922 MB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.00539, allocations: 0.6933 MB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.494e-05/0.005485, allocations: 11.94 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.419e-05/0.00554, allocations: 19.73 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.005665, allocations: 43.52 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.006209, allocations: 183.6 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.006624, allocations: 339 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.00677, allocations: 40.84 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.007099, allocations: 199.6 kB / 1.005 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.007305, allocations: 119.6 kB / 1.005 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.007365, allocations: 32 kB / 1.005 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-05/0.007444, allocations: 32 kB / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.007666, allocations: 79.77 kB / 1.005 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.007794, allocations: 99.7 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.008261, allocations: 346.9 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.008264, allocations: 0 / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.342e-06/0.008265, allocations: 0 / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.008271, allocations: 0 / 1.005 GB, free: 8.781 MB / 0.9636 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.001261/0.009532, allocations: 0.5638 MB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.009571, allocations: 9.344 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.009902, allocations: 64.75 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.01021, allocations: 186.1 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004376/0.01064, allocations: 0.4919 MB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/0.0107, allocations: 24.38 kB / 1.007 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.01123, allocations: 263.1 kB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.01125, allocations: 8.141 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.01128, allocations: 16.12 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.01128, allocations: 4 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.01173, allocations: 175.8 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.01282, allocations: 0.6524 MB / 1.008 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.01334, allocations: 199.7 kB / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.01362, allocations: 126.5 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.01366, allocations: 8 kB / 1.008 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007618/0.01442, allocations: 308.3 kB / 1.008 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=48): time 1.754e-06/0.01443, allocations: 3.938 kB / 1.008 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of matching and sorting (n=48): time 0.001102/0.01553, allocations: 489 kB / 1.009 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.01563, allocations: 118.8 kB / 1.009 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.01584, allocations: 183.5 kB / 1.009 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.01589, allocations: 41.69 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/0.01599, allocations: 121.3 kB / 1.009 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.01616, allocations: 158.7 kB / 1.009 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.01632, allocations: 102.3 kB / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.01653, allocations: 342.8 kB / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.01686, allocations: 149.2 kB / 1.01 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.01728, allocations: 261 kB / 1.01 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007208/0.018, allocations: 394 kB / 1.01 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01801, allocations: 0 / 1.01 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009062/0.01891, allocations: 489 kB / 1.011 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01893, allocations: 4 kB / 1.011 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.01894, allocations: 4.094 kB / 1.011 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.01896, allocations: 11.98 kB / 1.011 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.01935, allocations: 99.77 kB / 1.011 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.01936, allocations: 4 kB / 1.011 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.01968, allocations: 67.69 kB / 1.011 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.01972, allocations: 20 kB / 1.011 GB, free: 2.301 MB / 0.9636 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.0002036/0.01993, allocations: 159.7 kB / 1.011 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.01998, allocations: 27.86 kB / 1.011 GB, free: 2.109 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.145e-05/0.02007, allocations: 41.89 kB / 1.011 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.02008, allocations: 4 kB / 1.011 GB, free: 2.059 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.0201, allocations: 3.938 kB / 1.011 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.02011, allocations: 3.984 kB / 1.011 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.02048, allocations: 241.1 kB / 1.012 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.02049, allocations: 8 kB / 1.012 GB, free: 1.777 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.02089, allocations: 71.89 kB / 1.012 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.445e-06/0.0209, allocations: 4 kB / 1.012 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.02093, allocations: 11.94 kB / 1.012 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.02094, allocations: 8 kB / 1.012 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.02094, allocations: 3.984 kB / 1.012 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.02211, allocations: 0.5877 MB / 1.012 GB, free: 1.066 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.02215, allocations: 27.75 kB / 1.012 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.02219, allocations: 8 kB / 1.012 GB, free: 1.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.02241, allocations: 35.97 kB / 1.012 GB, free: 0.9961 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.02257, allocations: 67.81 kB / 1.012 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.02261, allocations: 19.98 kB / 1.012 GB, free: 0.9102 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001277/0.02273, allocations: 128.4 kB / 1.013 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02273, allocations: 0 / 1.013 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003184/0.02305, allocations: 83.92 kB / 1.013 GB, free: 0.7031 MB / 0.9636 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.0001788/0.02323, allocations: 115.2 kB / 1.013 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007809/0.02401, allocations: 365.7 kB / 1.013 GB, free: 228 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02401, allocations: 0 / 1.013 GB, free: 228 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.02439, allocations: 184.4 kB / 1.013 GB, free: 44 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.02473, allocations: 45.59 kB / 1.013 GB, free: 0 / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.02591, allocations: 0.5797 MB / 1.014 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.02608, allocations: 160.1 kB / 1.014 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.02623, allocations: 46.83 kB / 1.014 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.02634, allocations: 36.5 kB / 1.014 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of SimCode: time 4.41e-07/0.02634, allocations: 0 / 1.014 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of Templates: time 0.009518/0.03586, allocations: 4.018 MB / 1.018 GB, free: 11.18 MB / 0.9792 GB " [Timeout remaining time 300] 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: 9.251228800043464]