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.000724/0.000724, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008821/0.001606, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007209/0.0007209, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009425/0.001663, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09731/1.114, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 1.935/1.935, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5058/2.441, allocations: 127.1 MB / 0.7432 GB, free: 4.629 MB / 0.7136 GB " [Timeout remaining time 178] 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 1.854e-06/1.854e-06, allocations: 0 / 0.7445 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.752e-05, allocations: 10.25 kB / 0.7445 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002412/0.00244, allocations: 2.022 MB / 0.7465 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008783/0.003318, allocations: 0.7361 MB / 0.7472 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.908e-05/0.003397, allocations: 0 / 0.7472 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.003434, allocations: 23.67 kB / 0.7473 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.528e-05/0.003519, allocations: 51.03 kB / 0.7473 GB, free: 472 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.003832, allocations: 178.8 kB / 0.7475 GB, free: 296 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.004109, allocations: 327.1 kB / 0.7478 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.004227, allocations: 42.81 kB / 0.7478 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.004491, allocations: 220 kB / 0.748 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.004626, allocations: 111.7 kB / 0.7482 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.004662, allocations: 32 kB / 0.7482 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.872e-05/0.00474, allocations: 32 kB / 0.7482 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.004781, allocations: 56.83 kB / 0.7483 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.118e-05/0.004842, allocations: 75.86 kB / 0.7483 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.005049, allocations: 200.1 kB / 0.7485 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.869e-05/0.005068, allocations: 4 kB / 0.7485 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.92e-07/0.005068, allocations: 0 / 0.7485 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.005087, allocations: 0.6875 kB / 0.7485 GB, free: 15.21 MB / 0.7292 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.0007973/0.005884, allocations: 0.5969 MB / 0.7491 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.005916, allocations: 12.03 kB / 0.7491 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.006131, allocations: 151 kB / 0.7493 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.006338, allocations: 166.4 kB / 0.7494 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.006547, allocations: 495.7 kB / 0.7499 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.006595, allocations: 41.14 kB / 0.7499 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.006849, allocations: 211.8 kB / 0.7501 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.006863, allocations: 5.109 kB / 0.7501 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.006879, allocations: 12.11 kB / 0.7502 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.006886, allocations: 10.44 kB / 0.7502 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.987e-05/0.006986, allocations: 66.97 kB / 0.7502 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.007531, allocations: 0.5039 MB / 0.7507 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.007762, allocations: 130.3 kB / 0.7509 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.531e-05/0.007827, allocations: 66.5 kB / 0.7509 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.00787, allocations: 12 kB / 0.7509 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.00811, allocations: 244.2 kB / 0.7512 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 1.733e-06/0.008112, allocations: 0 / 0.7512 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.0003324/0.008444, allocations: 254.3 kB / 0.7514 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.008499, allocations: 119.8 kB / 0.7515 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.955e-05/0.008598, allocations: 189.4 kB / 0.7517 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.008623, allocations: 37.7 kB / 0.7517 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.008668, allocations: 113.3 kB / 0.7518 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.682e-05/0.008755, allocations: 161.8 kB / 0.752 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.008845, allocations: 106.3 kB / 0.7521 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.00894, allocations: 346.7 kB / 0.7524 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.611e-05/0.009016, allocations: 57.28 kB / 0.7525 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.00915, allocations: 164.8 kB / 0.7526 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.009405, allocations: 265.9 kB / 0.7529 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.009409, allocations: 0 / 0.7529 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002901/0.009699, allocations: 285.8 kB / 0.7532 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.009715, allocations: 14.66 kB / 0.7532 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.009723, allocations: 4 kB / 0.7532 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.009737, allocations: 4 kB / 0.7532 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.009964, allocations: 115.8 kB / 0.7533 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.009971, allocations: 4 kB / 0.7533 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.01009, allocations: 55.69 kB / 0.7534 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.01011, allocations: 16 kB / 0.7534 GB, free: 9.871 MB / 0.7292 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.0001223/0.01023, allocations: 149 kB / 0.7535 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.01027, allocations: 32.06 kB / 0.7535 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.01031, allocations: 43.19 kB / 0.7536 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.01031, allocations: 4 kB / 0.7536 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01032, allocations: 0 / 0.7536 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.01033, allocations: 4.75 kB / 0.7536 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.01049, allocations: 173.7 kB / 0.7538 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01049, allocations: 1.406 kB / 0.7538 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.0107, allocations: 79.89 kB / 0.7538 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.01073, allocations: 35.69 kB / 0.7539 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01073, allocations: 3.984 kB / 0.7539 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.01075, allocations: 8.531 kB / 0.7539 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.01075, allocations: 5.031 kB / 0.7539 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.01075, allocations: 3.938 kB / 0.7539 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.0111, allocations: 328.7 kB / 0.7542 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.01113, allocations: 15.98 kB / 0.7542 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.01123, allocations: 27.97 kB / 0.7542 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.01132, allocations: 65.22 kB / 0.7543 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.01134, allocations: 16.05 kB / 0.7543 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.01138, allocations: 58.38 kB / 0.7544 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01138, allocations: 1.594 kB / 0.7544 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001957/0.01157, allocations: 87.88 kB / 0.7545 GB, free: 8.711 MB / 0.7292 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.0001269/0.0117, allocations: 93.09 kB / 0.7546 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.01196, allocations: 234.3 kB / 0.7548 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.01197, allocations: 7.938 kB / 0.7548 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.0121, allocations: 119.5 kB / 0.7549 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.01232, allocations: 70.23 kB / 0.755 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.0136, allocations: 0.5394 MB / 0.7555 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.244e-05/0.01366, allocations: 98.53 kB / 0.7556 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.01376, allocations: 42.52 kB / 0.7556 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.0139, allocations: 111.4 kB / 0.7557 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of SimCode: time 7.72e-07/0.0139, allocations: 0.6875 kB / 0.7557 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of Templates: time 0.005909/0.01981, allocations: 4.06 MB / 0.7597 GB, free: 3.48 MB / 0.7292 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: 5.045970801264048]