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.001785/0.001785, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.0023/0.0023, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 1.045/1.045, allocations: 149.9 MB / 463 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [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.002225/0.002225, allocations: 68.11 kB / 0.6411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1887, allocations: 89.17 MB / 0.7282 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002394/0.1911, allocations: 1.023 MB / 0.7292 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1926, allocations: 1.124 MB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.1926, allocations: 0 / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.404e-05/0.1927, allocations: 27.5 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.1928, allocations: 43.58 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.1933, allocations: 154.4 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.1936, allocations: 327.1 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1938, allocations: 32.56 kB / 0.7309 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.194, allocations: 139.6 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1942, allocations: 131.4 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.016e-05/0.1943, allocations: 39.94 kB / 0.7312 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.999e-05/0.1944, allocations: 32 kB / 0.7312 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.434e-05/0.1944, allocations: 79.78 kB / 0.7313 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.1946, allocations: 111.5 kB / 0.7314 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.1949, allocations: 319 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1949, allocations: 0 / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1949, allocations: 4 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.195, allocations: 0 / 0.7317 GB, free: 13.41 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.001349/0.1963, allocations: 0.5598 MB / 0.7322 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1964, allocations: 8.031 kB / 0.7322 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.552e-05/0.1964, allocations: 54.73 kB / 0.7323 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003268/0.1967, allocations: 64.7 kB / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1969, allocations: 143 kB / 0.7325 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004108/0.1973, allocations: 499.6 kB / 0.733 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/0.1974, allocations: 32.36 kB / 0.733 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.1979, allocations: 266 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.1979, allocations: 3.953 kB / 0.7332 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.198, allocations: 15.98 kB / 0.7333 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.198, allocations: 7.938 kB / 0.7333 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.1984, allocations: 175.8 kB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.1996, allocations: 0.6873 MB / 0.7341 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.2001, allocations: 199.8 kB / 0.7343 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.2004, allocations: 131.6 kB / 0.7344 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.2004, allocations: 12 kB / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000594/0.201, allocations: 311.8 kB / 0.7347 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.043e-06/0.201, allocations: 0 / 0.7347 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.00107/0.2021, allocations: 487.5 kB / 0.7352 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.63e-05/0.2022, allocations: 118.8 kB / 0.7353 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.2024, allocations: 179.5 kB / 0.7355 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.2024, allocations: 45.7 kB / 0.7355 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.2025, allocations: 113.4 kB / 0.7356 GB, free: 9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.2026, allocations: 162.7 kB / 0.7358 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.2028, allocations: 102.3 kB / 0.7359 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.203, allocations: 338.8 kB / 0.7362 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.2033, allocations: 149.2 kB / 0.7364 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.2037, allocations: 256.7 kB / 0.7366 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/0.2044, allocations: 394.1 kB / 0.737 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2044, allocations: 0 / 0.737 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008707/0.2052, allocations: 485.5 kB / 0.7374 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.2052, allocations: 11.92 kB / 0.7374 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2053, allocations: 7.938 kB / 0.7375 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2053, allocations: 4 kB / 0.7375 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.2057, allocations: 95.83 kB / 0.7376 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.2057, allocations: 11.94 kB / 0.7376 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.206, allocations: 67.64 kB / 0.7376 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.206, allocations: 20 kB / 0.7376 GB, free: 6.844 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.0001948/0.2062, allocations: 159.5 kB / 0.7378 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.2062, allocations: 27.8 kB / 0.7378 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.117e-05/0.2063, allocations: 33.95 kB / 0.7379 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.2063, allocations: 8 kB / 0.7379 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2063, allocations: 4.094 kB / 0.7379 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.2063, allocations: 3.984 kB / 0.7379 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.2067, allocations: 288.5 kB / 0.7381 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2067, allocations: 3.938 kB / 0.7382 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.2071, allocations: 75.89 kB / 0.7382 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.2071, allocations: 7.938 kB / 0.7382 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.2071, allocations: 8 kB / 0.7382 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.2071, allocations: 4 kB / 0.7382 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2071, allocations: 0 / 0.7382 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.2082, allocations: 0.5861 MB / 0.7388 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.2083, allocations: 31.72 kB / 0.7388 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.2083, allocations: 15.94 kB / 0.7389 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.2085, allocations: 27.97 kB / 0.7389 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.2087, allocations: 59.91 kB / 0.7389 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.2087, allocations: 15.98 kB / 0.739 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001143/0.2088, allocations: 125.2 kB / 0.7391 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2088, allocations: 4 kB / 0.7391 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003343/0.2092, allocations: 79.95 kB / 0.7392 GB, free: 5.219 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.001526/0.2107, allocations: 1.145 MB / 0.7403 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007433/0.2114, allocations: 362.7 kB / 0.7406 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2114, allocations: 0 / 0.7406 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.2118, allocations: 179.7 kB / 0.7408 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.2121, allocations: 45.69 kB / 0.7408 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.2165, allocations: 3.177 MB / 0.7439 GB, free: 128 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.2166, allocations: 156.1 kB / 0.7441 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001609/0.2168, allocations: 43.33 kB / 0.7441 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.217, allocations: 91.41 kB / 0.7442 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.217, allocations: 0 / 0.7442 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/0.2539, allocations: 7.317 MB / 0.7514 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.89, allocations: 13.08 kB / 0.7514 GB, free: 8.691 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.234208908863366] Failed to read output from testmodel.py, exit status != 0: 12.009629243984818 12.414896389 12.217263921 Calling exit ...