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.0009999/0.0009999, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002374, allocations: 449.8 kB / 10.44 MB, free: 252 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.00105/0.00105, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.002072, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9714/0.9714, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09016/1.062, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.909/1.909, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4692/2.379, allocations: 127.1 MB / 0.7435 GB, free: 4.504 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.944e-06/1.944e-06, allocations: 0.6562 kB / 0.7449 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.96e-05, allocations: 9.078 kB / 0.7449 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003393/0.003423, allocations: 2.028 MB / 0.7469 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.004585, allocations: 0.7258 MB / 0.7476 GB, free: 400 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.004696, allocations: 7.938 kB / 0.7476 GB, free: 392 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.313e-05/0.004749, allocations: 21.16 kB / 0.7476 GB, free: 372 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.004873, allocations: 45.61 kB / 0.7476 GB, free: 340 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.005273, allocations: 182.3 kB / 0.7478 GB, free: 160 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.005569, allocations: 327 kB / 0.7481 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.005696, allocations: 54.67 kB / 0.7482 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.005956, allocations: 207.6 kB / 0.7484 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.006097, allocations: 115.6 kB / 0.7485 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.006136, allocations: 32 kB / 0.7485 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.29e-05/0.006219, allocations: 32 kB / 0.7485 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.006275, allocations: 54.3 kB / 0.7486 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.00634, allocations: 75.81 kB / 0.7487 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.006584, allocations: 203.3 kB / 0.7489 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-05/0.006601, allocations: 4 kB / 0.7489 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.773e-06/0.006603, allocations: 0 / 0.7489 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.006619, allocations: 0 / 0.7489 GB, free: 15.07 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.0009204/0.007539, allocations: 0.6063 MB / 0.7495 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.007582, allocations: 8.031 kB / 0.7495 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005528/0.008134, allocations: 146 kB / 0.7496 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.008369, allocations: 170 kB / 0.7498 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.008573, allocations: 499.7 kB / 0.7502 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.008615, allocations: 33.02 kB / 0.7503 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.008917, allocations: 212.5 kB / 0.7505 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.008931, allocations: 192 / 0.7505 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.008949, allocations: 12.72 kB / 0.7505 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.008957, allocations: 4 kB / 0.7505 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.009064, allocations: 80.34 kB / 0.7506 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.009623, allocations: 0.505 MB / 0.7511 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.009834, allocations: 119.6 kB / 0.7512 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.671e-05/0.009901, allocations: 67.47 kB / 0.7512 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.009933, allocations: 15.92 kB / 0.7513 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.01016, allocations: 240.8 kB / 0.7515 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 2.524e-06/0.01016, allocations: 0.75 kB / 0.7515 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.0003168/0.01048, allocations: 253.7 kB / 0.7517 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.01053, allocations: 116.7 kB / 0.7518 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.01063, allocations: 184.5 kB / 0.752 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.01066, allocations: 41.69 kB / 0.7521 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.01084, allocations: 117.2 kB / 0.7522 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.693e-05/0.01093, allocations: 160.4 kB / 0.7523 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.01102, allocations: 106.3 kB / 0.7524 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.0111, allocations: 342.8 kB / 0.7528 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.01117, allocations: 53.28 kB / 0.7528 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.01129, allocations: 172.7 kB / 0.753 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.0115, allocations: 254.8 kB / 0.7532 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.0115, allocations: 0 / 0.7532 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002657/0.01177, allocations: 298.2 kB / 0.7535 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.01178, allocations: 8.75 kB / 0.7535 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.01179, allocations: 4.047 kB / 0.7535 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.01181, allocations: 14.69 kB / 0.7535 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.01203, allocations: 103.8 kB / 0.7536 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.01203, allocations: 8 kB / 0.7536 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.01215, allocations: 55.69 kB / 0.7537 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.01217, allocations: 16 kB / 0.7537 GB, free: 9.734 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.0001064/0.01228, allocations: 158.4 kB / 0.7538 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.479e-05/0.01231, allocations: 31.97 kB / 0.7539 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.01235, allocations: 29.97 kB / 0.7539 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.01236, allocations: 8 kB / 0.7539 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01236, allocations: 0 / 0.7539 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.01237, allocations: 10.27 kB / 0.7539 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.01253, allocations: 169.6 kB / 0.7541 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01253, allocations: 0 / 0.7541 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.01275, allocations: 83.89 kB / 0.7542 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.01277, allocations: 27.75 kB / 0.7542 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01277, allocations: 4 kB / 0.7542 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.01279, allocations: 12.77 kB / 0.7542 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.0128, allocations: 4 kB / 0.7542 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.0128, allocations: 1.75 kB / 0.7542 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.01314, allocations: 334.9 kB / 0.7545 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.01317, allocations: 12 kB / 0.7545 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.01326, allocations: 28.5 kB / 0.7546 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.01335, allocations: 68.95 kB / 0.7546 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.01336, allocations: 8 kB / 0.7546 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.0134, allocations: 50.45 kB / 0.7547 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.0134, allocations: 4.469 kB / 0.7547 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001797/0.01358, allocations: 92.98 kB / 0.7548 GB, free: 8.574 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.0001313/0.01371, allocations: 93.17 kB / 0.7549 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.01396, allocations: 241.7 kB / 0.7551 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.01397, allocations: 0.8438 kB / 0.7551 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.01413, allocations: 139.3 kB / 0.7552 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.01468, allocations: 325.3 kB / 0.7555 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.01587, allocations: 0.5354 MB / 0.7561 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.376e-05/0.01592, allocations: 102.8 kB / 0.7562 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.01603, allocations: 34.97 kB / 0.7562 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.01618, allocations: 115.3 kB / 0.7563 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of SimCode: time 9.42e-07/0.01618, allocations: 0 / 0.7563 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of Templates: time 0.005602/0.02178, allocations: 3.986 MB / 0.7602 GB, free: 3.113 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: 4.9825770035386086]