Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.001889/0.001889, allocations: 104.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.002081/0.002081, allocations: 220 kB / 23.02 MB, free: 2.961 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.715/1.715, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.392/3.392, allocations: 0.5045 GB / 0.8104 GB, free: 2.734 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003793/0.003793, allocations: 67.89 kB / 1.177 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.05, allocations: 180 MB / 1.353 GB, free: 1.543 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002692/1.053, allocations: 1.036 MB / 1.354 GB, free: 0.5078 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001722/1.054, allocations: 1.139 MB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.372e-05/1.054, allocations: 4 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 5.263e-05/1.054, allocations: 15.75 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/1.055, allocations: 43.58 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/1.055, allocations: 155.6 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004004/1.055, allocations: 323.1 kB / 1.356 GB, free: 14.82 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/1.056, allocations: 36.58 kB / 1.356 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/1.056, allocations: 143.5 kB / 1.356 GB, free: 14.65 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/1.056, allocations: 131.5 kB / 1.356 GB, free: 14.52 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/1.056, allocations: 28 kB / 1.356 GB, free: 14.49 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.295e-05/1.056, allocations: 32 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.129e-05/1.056, allocations: 87.72 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/1.056, allocations: 115.5 kB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004178/1.057, allocations: 325.5 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.057, allocations: 0 / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.743e-06/1.057, allocations: 0 / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.083e-06/1.057, allocations: 0 / 1.356 GB, free: 13.95 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.001297/1.058, allocations: 0.5519 MB / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.058, allocations: 12.92 kB / 1.357 GB, free: 13.35 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003218/1.059, allocations: 60.7 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/1.059, allocations: 147 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004399/1.059, allocations: 495.6 kB / 1.358 GB, free: 12.52 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/1.059, allocations: 36.36 kB / 1.358 GB, free: 12.49 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/1.06, allocations: 258.3 kB / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/1.06, allocations: 7.938 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/1.06, allocations: 8 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/1.06, allocations: 4 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/1.06, allocations: 175.8 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/1.061, allocations: 0.6602 MB / 1.359 GB, free: 11.33 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/1.062, allocations: 199.7 kB / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/1.062, allocations: 126.5 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/1.062, allocations: 8 kB / 1.359 GB, free: 10.97 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00058/1.063, allocations: 319.2 kB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of pre-optimization done (n=48): time 1.663e-06/1.063, allocations: 3.938 kB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of matching and sorting (n=48): time 0.001227/1.064, allocations: 491.8 kB / 1.36 GB, free: 10.14 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.064, allocations: 122.7 kB / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/1.064, allocations: 172.8 kB / 1.36 GB, free: 9.82 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/1.064, allocations: 37.7 kB / 1.36 GB, free: 9.777 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/1.065, allocations: 121.3 kB / 1.36 GB, free: 9.656 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/1.065, allocations: 158.8 kB / 1.36 GB, free: 9.5 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/1.065, allocations: 106.3 kB / 1.361 GB, free: 9.391 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001999/1.065, allocations: 346.8 kB / 1.361 GB, free: 9.043 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/1.065, allocations: 141.2 kB / 1.361 GB, free: 8.906 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/1.066, allocations: 253.6 kB / 1.361 GB, free: 8.621 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007068/1.067, allocations: 390 kB / 1.362 GB, free: 8.203 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.067, allocations: 0 / 1.362 GB, free: 8.203 MB / 1.042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009451/1.067, allocations: 493 kB / 1.362 GB, free: 7.715 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.067, allocations: 8 kB / 1.362 GB, free: 7.707 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.067, allocations: 4 kB / 1.362 GB, free: 7.703 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/1.068, allocations: 7.938 kB / 1.362 GB, free: 7.695 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/1.068, allocations: 99.81 kB / 1.362 GB, free: 7.598 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.068, allocations: 4 kB / 1.362 GB, free: 7.594 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/1.068, allocations: 55.75 kB / 1.362 GB, free: 7.539 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/1.068, allocations: 24 kB / 1.362 GB, free: 7.516 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.0001993/1.068, allocations: 160 kB / 1.362 GB, free: 7.352 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/1.069, allocations: 31.75 kB / 1.362 GB, free: 7.32 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.546e-05/1.069, allocations: 37.84 kB / 1.363 GB, free: 7.277 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.069, allocations: 4 kB / 1.363 GB, free: 7.273 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.069, allocations: 4 kB / 1.363 GB, free: 7.27 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/1.069, allocations: 3.984 kB / 1.363 GB, free: 7.266 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/1.069, allocations: 233.1 kB / 1.363 GB, free: 7.008 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.069, allocations: 8 kB / 1.363 GB, free: 7 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/1.069, allocations: 71.89 kB / 1.363 GB, free: 6.93 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.069, allocations: 0 / 1.363 GB, free: 6.93 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/1.069, allocations: 15.98 kB / 1.363 GB, free: 6.914 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/1.069, allocations: 7.938 kB / 1.363 GB, free: 6.906 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.069, allocations: 0 / 1.363 GB, free: 6.906 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/1.071, allocations: 0.5863 MB / 1.363 GB, free: 6.297 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/1.071, allocations: 35.75 kB / 1.363 GB, free: 6.262 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/1.071, allocations: 8 kB / 1.363 GB, free: 6.254 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/1.071, allocations: 39.89 kB / 1.364 GB, free: 6.215 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/1.071, allocations: 51.92 kB / 1.364 GB, free: 6.164 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/1.071, allocations: 20.17 kB / 1.364 GB, free: 6.145 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001199/1.071, allocations: 125.2 kB / 1.364 GB, free: 6.023 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.01e-07/1.071, allocations: 3.938 kB / 1.364 GB, free: 6.02 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003472/1.072, allocations: 91.86 kB / 1.364 GB, free: 5.93 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.0001861/1.072, allocations: 115.3 kB / 1.364 GB, free: 5.809 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000798/1.073, allocations: 368.4 kB / 1.364 GB, free: 5.449 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/1.073, allocations: 0 / 1.364 GB, free: 5.449 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000388/1.073, allocations: 184.4 kB / 1.364 GB, free: 5.27 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/1.073, allocations: 39.97 kB / 1.364 GB, free: 5.23 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/1.075, allocations: 0.6173 MB / 1.365 GB, free: 4.586 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/1.075, allocations: 160.1 kB / 1.365 GB, free: 4.41 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001557/1.075, allocations: 42.91 kB / 1.365 GB, free: 4.367 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/1.075, allocations: 39.42 kB / 1.365 GB, free: 4.328 MB / 1.042 GB Notification: Performance of SimCode: time 6.61e-07/1.075, allocations: 0 / 1.365 GB, free: 4.328 MB / 1.042 GB Notification: Performance of Templates: time 0.009792/1.085, allocations: 4.231 MB / 1.369 GB, free: 172 kB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.901597645133734]