Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001313/0.001313, allocations: 103.8 kB / 20.49 MB, free: 1.316 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.001425/0.001425, allocations: 214.7 kB / 23.79 MB, free: 4.453 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.413/1.413, allocations: 230.6 MB / 257.6 MB, free: 7.77 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.932/0.932, allocations: 150 MB / 464 MB, free: 10.19 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage") [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.002009/0.002009, allocations: 66.5 kB / 0.6426 GB, free: 9.309 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1826, allocations: 89.18 MB / 0.7296 GB, free: 196 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002342/0.1849, allocations: 1.016 MB / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1865, allocations: 1.131 MB / 0.7317 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.1865, allocations: 4 kB / 0.7317 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.505e-05/0.1866, allocations: 27.61 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.1867, allocations: 43.58 kB / 0.7318 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.1872, allocations: 149.7 kB / 0.7319 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.1875, allocations: 327.1 kB / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1877, allocations: 32.58 kB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.1879, allocations: 139.6 kB / 0.7324 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.1881, allocations: 139.3 kB / 0.7326 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.1881, allocations: 28 kB / 0.7326 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.953e-05/0.1882, allocations: 36 kB / 0.7326 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.1883, allocations: 75.8 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.1884, allocations: 119.5 kB / 0.7328 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.1888, allocations: 318.8 kB / 0.7331 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1888, allocations: 0 / 0.7331 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1888, allocations: 3.938 kB / 0.7331 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.1888, allocations: 0 / 0.7331 GB, free: 12.62 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.001207/0.19, allocations: 0.552 MB / 0.7337 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1901, allocations: 8.031 kB / 0.7337 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003274/0.1904, allocations: 64.7 kB / 0.7337 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.1905, allocations: 147 kB / 0.7339 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003555/0.1909, allocations: 0.4918 MB / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.1909, allocations: 24.38 kB / 0.7344 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.1914, allocations: 262.3 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.1915, allocations: 11.83 kB / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.1915, allocations: 12 kB / 0.7346 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.1915, allocations: 4 kB / 0.7346 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.1919, allocations: 171.9 kB / 0.7348 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009999/0.1929, allocations: 0.6487 MB / 0.7354 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.1934, allocations: 199.7 kB / 0.7356 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.1936, allocations: 122.5 kB / 0.7357 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.1937, allocations: 12 kB / 0.7358 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005509/0.1942, allocations: 315.5 kB / 0.7361 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.084e-06/0.1942, allocations: 0 / 0.7361 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001057/0.1953, allocations: 488.5 kB / 0.7365 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.1954, allocations: 114.8 kB / 0.7366 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1955, allocations: 187.5 kB / 0.7368 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.1956, allocations: 37.7 kB / 0.7368 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.1957, allocations: 121.4 kB / 0.737 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.1958, allocations: 158.7 kB / 0.7371 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.196, allocations: 102.3 kB / 0.7372 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1961, allocations: 342.8 kB / 0.7375 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.1964, allocations: 149.2 kB / 0.7377 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.1968, allocations: 252.7 kB / 0.7379 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.1975, allocations: 406 kB / 0.7383 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1975, allocations: 4 kB / 0.7383 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00087/0.1983, allocations: 493.5 kB / 0.7388 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1984, allocations: 8 kB / 0.7388 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.1984, allocations: 7.938 kB / 0.7388 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.1984, allocations: 7.938 kB / 0.7388 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.1988, allocations: 91.83 kB / 0.7389 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.1988, allocations: 8 kB / 0.7389 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.1991, allocations: 63.64 kB / 0.739 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.1991, allocations: 23.98 kB / 0.739 GB, free: 6.176 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.0001827/0.1993, allocations: 155.5 kB / 0.7391 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.1994, allocations: 27.86 kB / 0.7392 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.814e-05/0.1994, allocations: 37.89 kB / 0.7392 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.1994, allocations: 4 kB / 0.7392 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.1994, allocations: 0 / 0.7392 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1995, allocations: 8 kB / 0.7392 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.1998, allocations: 233 kB / 0.7394 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1998, allocations: 4 kB / 0.7394 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/0.2002, allocations: 71.89 kB / 0.7395 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2002, allocations: 4 kB / 0.7395 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.2002, allocations: 15.98 kB / 0.7395 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.2002, allocations: 7.938 kB / 0.7395 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2002, allocations: 3.938 kB / 0.7395 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.2013, allocations: 0.5861 MB / 0.7401 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.2013, allocations: 23.8 kB / 0.7401 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.2014, allocations: 11.98 kB / 0.7401 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.2016, allocations: 35.91 kB / 0.7402 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.2018, allocations: 55.91 kB / 0.7402 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.2018, allocations: 16 kB / 0.7402 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001015/0.2019, allocations: 125.3 kB / 0.7404 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2019, allocations: 3.938 kB / 0.7404 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003154/0.2022, allocations: 87.95 kB / 0.7404 GB, free: 4.613 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.0001443/0.2023, allocations: 116 kB / 0.7406 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000768/0.2031, allocations: 354.6 kB / 0.7409 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2031, allocations: 0 / 0.7409 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.2035, allocations: 191 kB / 0.7411 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.2038, allocations: 49.77 kB / 0.7411 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.205, allocations: 0.6221 MB / 0.7417 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.2051, allocations: 156.2 kB / 0.7419 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.2053, allocations: 43.22 kB / 0.7419 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.2054, allocations: 35.44 kB / 0.742 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/0.2054, allocations: 0 / 0.742 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of Templates: time 0.00835/0.2137, allocations: 4.219 MB / 0.7461 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.565075568156317] Failed to read output from testmodel.py, exit status != 0: 0.22203531488776207 0.23576669900000002 0.044004189000000006 Calling exit ...