Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001352/0.001352, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.001407/0.001407, allocations: 209.5 kB / 23.76 MB, free: 4.727 MB / 14.72 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9436/0.9436, allocations: 150 MB / 463.9 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 77.7 kB / 0.6426 GB, free: 9.816 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1876, allocations: 89.16 MB / 0.7296 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003358/0.1909, allocations: 2.004 MB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1922, allocations: 0.744 MB / 0.7323 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1923, allocations: 3.938 kB / 0.7323 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.863e-05/0.1924, allocations: 19.73 kB / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.1925, allocations: 43.52 kB / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.193, allocations: 175 kB / 0.7325 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.1934, allocations: 331.1 kB / 0.7329 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1936, allocations: 36.86 kB / 0.7329 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.1938, allocations: 147.6 kB / 0.733 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.1941, allocations: 151.4 kB / 0.7332 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.1941, allocations: 28 kB / 0.7332 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.172e-05/0.1942, allocations: 32 kB / 0.7332 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.1943, allocations: 83.72 kB / 0.7333 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1944, allocations: 135.4 kB / 0.7334 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.1948, allocations: 318.6 kB / 0.7337 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1948, allocations: 4 kB / 0.7338 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1948, allocations: 4 kB / 0.7338 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.1948, allocations: 0 / 0.7338 GB, free: 12.47 MB / 0.5606 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.001287/0.1961, allocations: 0.5599 MB / 0.7343 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1962, allocations: 8.031 kB / 0.7343 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.1965, allocations: 64.7 kB / 0.7344 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1968, allocations: 183.3 kB / 0.7345 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004134/0.1972, allocations: 0.4918 MB / 0.735 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.1973, allocations: 32.33 kB / 0.7351 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.1978, allocations: 269.8 kB / 0.7353 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.1979, allocations: 4 kB / 0.7353 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.1979, allocations: 8 kB / 0.7353 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1979, allocations: 4 kB / 0.7353 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.1983, allocations: 175.8 kB / 0.7355 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.1995, allocations: 0.7494 MB / 0.7362 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.2, allocations: 206 kB / 0.7364 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.2003, allocations: 122.5 kB / 0.7365 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.2003, allocations: 8 kB / 0.7365 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005194/0.2008, allocations: 319.8 kB / 0.7369 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/0.2008, allocations: 0 / 0.7369 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001092/0.2019, allocations: 493.2 kB / 0.7373 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.202, allocations: 118.8 kB / 0.7374 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.2022, allocations: 186.7 kB / 0.7376 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.2023, allocations: 37.7 kB / 0.7377 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.2023, allocations: 125.3 kB / 0.7378 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.2025, allocations: 154.8 kB / 0.7379 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.2026, allocations: 102.3 kB / 0.738 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2028, allocations: 342.8 kB / 0.7383 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.2031, allocations: 149.2 kB / 0.7385 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.2035, allocations: 252.8 kB / 0.7387 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/0.2042, allocations: 390 kB / 0.7391 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2042, allocations: 0 / 0.7391 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008684/0.205, allocations: 0.4892 MB / 0.7396 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.2051, allocations: 8 kB / 0.7396 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.2051, allocations: 8.062 kB / 0.7396 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.2051, allocations: 4 kB / 0.7396 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.2055, allocations: 95.83 kB / 0.7397 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.2055, allocations: 8.688 kB / 0.7397 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.2058, allocations: 51.75 kB / 0.7397 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.2058, allocations: 28 kB / 0.7398 GB, free: 5.879 MB / 0.5606 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.0001869/0.206, allocations: 159.5 kB / 0.7399 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.2061, allocations: 35.73 kB / 0.74 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.28e-05/0.2061, allocations: 29.97 kB / 0.74 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2061, allocations: 4 kB / 0.74 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.2061, allocations: 7.938 kB / 0.74 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.2062, allocations: 3.984 kB / 0.74 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.2066, allocations: 344.2 kB / 0.7403 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2066, allocations: 0 / 0.7403 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.207, allocations: 75.84 kB / 0.7404 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.207, allocations: 4 kB / 0.7404 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.207, allocations: 16.08 kB / 0.7404 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.207, allocations: 4 kB / 0.7404 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.207, allocations: 0 / 0.7404 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.2081, allocations: 0.5816 MB / 0.741 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.2081, allocations: 31.78 kB / 0.741 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.2082, allocations: 19.92 kB / 0.741 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.2084, allocations: 27.97 kB / 0.7411 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.2085, allocations: 51.92 kB / 0.7411 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.2085, allocations: 8 kB / 0.7411 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001191/0.2087, allocations: 132.4 kB / 0.7413 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2087, allocations: 0 / 0.7413 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003359/0.209, allocations: 79.95 kB / 0.7413 GB, free: 4.203 MB / 0.5606 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.0001704/0.2092, allocations: 111.2 kB / 0.7414 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007534/0.2099, allocations: 383 kB / 0.7418 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2099, allocations: 0 / 0.7418 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.2103, allocations: 159.8 kB / 0.742 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.2106, allocations: 56.03 kB / 0.742 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.2118, allocations: 0.6475 MB / 0.7426 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.2122, allocations: 0.7609 MB / 0.7434 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.2124, allocations: 39.42 kB / 0.7434 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.2124, allocations: 0 / 0.7434 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of Templates: time 0.006742/0.2191, allocations: 4.05 MB / 0.7474 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.567831306019798] Failed to read output from testmodel.py, exit status != 0: 0.2281446240376681 0.5166832330000001 0.044429213 Calling exit ...