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.001105/0.001105, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001801/0.002906, 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.001176/0.001176, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001685/0.002862, 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.015/1.015, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09587/1.111, 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.972/1.972, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5163/2.488, allocations: 127.1 MB / 0.7432 GB, free: 4.625 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,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 1.693e-06/1.693e-06, allocations: 0 / 0.7445 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.084e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001562/0.001583, allocations: 1.097 MB / 0.7456 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.002746, allocations: 1.167 MB / 0.7468 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.002809, allocations: 0.6562 kB / 0.7468 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.002851, allocations: 27.95 kB / 0.7468 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.002932, allocations: 46.36 kB / 0.7468 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.003262, allocations: 151.7 kB / 0.747 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.003523, allocations: 327.1 kB / 0.7473 GB, free: 496 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.003641, allocations: 42.42 kB / 0.7473 GB, free: 452 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.003918, allocations: 217 kB / 0.7475 GB, free: 236 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.004065, allocations: 115.6 kB / 0.7476 GB, free: 120 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.004103, allocations: 32.66 kB / 0.7477 GB, free: 88 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.207e-05/0.004185, allocations: 36 kB / 0.7477 GB, free: 52 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.004226, allocations: 52.45 kB / 0.7478 GB, free: 0 / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.313e-05/0.004299, allocations: 72.53 kB / 0.7478 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.004512, allocations: 199.3 kB / 0.748 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-05/0.00453, allocations: 1.5 kB / 0.748 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.81e-07/0.00453, allocations: 0 / 0.748 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.004549, allocations: 0 / 0.748 GB, free: 15.73 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.0008047/0.005354, allocations: 0.5967 MB / 0.7486 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.005387, allocations: 13.12 kB / 0.7486 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.00563, allocations: 150 kB / 0.7488 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.005742, allocations: 143 kB / 0.7489 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.005961, allocations: 499.7 kB / 0.7494 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.006006, allocations: 33.5 kB / 0.7494 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.006549, allocations: 211.8 kB / 0.7496 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.006565, allocations: 4.125 kB / 0.7496 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.006581, allocations: 10.81 kB / 0.7496 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.006589, allocations: 8.125 kB / 0.7496 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.006692, allocations: 63.03 kB / 0.7497 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.007257, allocations: 0.4947 MB / 0.7502 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.007471, allocations: 131.5 kB / 0.7503 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.007538, allocations: 74.42 kB / 0.7504 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.007579, allocations: 12 kB / 0.7504 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.007821, allocations: 248.2 kB / 0.7506 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 1.823e-06/0.007823, allocations: 0.5 kB / 0.7506 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.0003286/0.008151, allocations: 261.9 kB / 0.7509 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.00821, allocations: 116 kB / 0.751 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.994e-05/0.00831, allocations: 176.3 kB / 0.7511 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.008337, allocations: 37.7 kB / 0.7512 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.00838, allocations: 112.1 kB / 0.7513 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.733e-05/0.008467, allocations: 166.6 kB / 0.7514 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.718e-05/0.008554, allocations: 102.3 kB / 0.7515 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.008643, allocations: 350.7 kB / 0.7519 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.008712, allocations: 61.22 kB / 0.7519 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.008829, allocations: 164.8 kB / 0.7521 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.009043, allocations: 261.9 kB / 0.7523 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.009047, allocations: 3.938 kB / 0.7523 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002796/0.009326, allocations: 285.6 kB / 0.7526 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.009343, allocations: 8 kB / 0.7526 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.009351, allocations: 4 kB / 0.7526 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.009364, allocations: 4 kB / 0.7526 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.009599, allocations: 107.8 kB / 0.7527 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.009605, allocations: 4 kB / 0.7527 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.009722, allocations: 51.75 kB / 0.7528 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.009741, allocations: 23.92 kB / 0.7528 GB, free: 10.43 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.0001176/0.009859, allocations: 149.1 kB / 0.753 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.009898, allocations: 37.22 kB / 0.753 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.009941, allocations: 29.97 kB / 0.753 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.009947, allocations: 8 kB / 0.753 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.009952, allocations: 0 / 0.753 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.009958, allocations: 4.797 kB / 0.753 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.01015, allocations: 173.6 kB / 0.7532 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01015, allocations: 1.406 kB / 0.7532 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.01038, allocations: 83.89 kB / 0.7533 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.0104, allocations: 31.69 kB / 0.7533 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.01041, allocations: 4.531 kB / 0.7533 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.01043, allocations: 11.98 kB / 0.7533 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01043, allocations: 0.8125 kB / 0.7533 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01043, allocations: 4.062 kB / 0.7533 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.01081, allocations: 336.8 kB / 0.7537 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.01084, allocations: 8 kB / 0.7537 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.01093, allocations: 33.27 kB / 0.7537 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/0.01102, allocations: 71.89 kB / 0.7538 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.01104, allocations: 4 kB / 0.7538 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.906e-05/0.01107, allocations: 55.27 kB / 0.7538 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01107, allocations: 1.594 kB / 0.7538 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001937/0.01127, allocations: 83.94 kB / 0.7539 GB, free: 9.277 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.0001509/0.01142, allocations: 94.09 kB / 0.754 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002846/0.0117, allocations: 241.2 kB / 0.7542 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/0.01172, allocations: 9.219 kB / 0.7542 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.01185, allocations: 114.5 kB / 0.7543 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.01206, allocations: 70.03 kB / 0.7544 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.01336, allocations: 0.5369 MB / 0.7549 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.309e-05/0.01342, allocations: 94.67 kB / 0.755 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.01353, allocations: 38.38 kB / 0.7551 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.01368, allocations: 112.5 kB / 0.7552 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of SimCode: time 1.262e-06/0.01368, allocations: 0 / 0.7552 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of Templates: time 0.006335/0.02001, allocations: 4.042 MB / 0.7591 GB, free: 4.078 MB / 0.7292 GB " [Timeout remaining time 300] 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: 5.194297060370445]