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.00219/0.00219, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001719/0.001719, allocations: 212.7 kB / 23.78 MB, free: 4.527 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.028/1.028, allocations: 150 MB / 464 MB, free: 10.24 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="cs",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.002073/0.002073, allocations: 61.84 kB / 0.642 GB, free: 9.836 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1895, allocations: 89.17 MB / 0.7291 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002346/0.1918, allocations: 1.016 MB / 0.7301 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1934, allocations: 1.135 MB / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1935, allocations: 0 / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.484e-05/0.1936, allocations: 23.67 kB / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.1937, allocations: 43.58 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.1943, allocations: 158.7 kB / 0.7314 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.1948, allocations: 327.1 kB / 0.7317 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.195, allocations: 36.56 kB / 0.7318 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.1953, allocations: 139.6 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.1955, allocations: 143.4 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.1956, allocations: 35.98 kB / 0.7321 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.1956, allocations: 36 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/0.1957, allocations: 79.73 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1959, allocations: 115.5 kB / 0.7323 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.1962, allocations: 315 kB / 0.7326 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.1962, allocations: 8 kB / 0.7326 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1962, allocations: 0 / 0.7326 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.1963, allocations: 0 / 0.7326 GB, free: 13.16 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.001373/0.1976, allocations: 0.5598 MB / 0.7331 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1977, allocations: 8.031 kB / 0.7331 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.447e-05/0.1977, allocations: 8.609 kB / 0.7331 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.411e-05/0.1978, allocations: 62.67 kB / 0.7332 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003394/0.1981, allocations: 56.77 kB / 0.7333 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.1983, allocations: 139.1 kB / 0.7334 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/0.1986, allocations: 499.6 kB / 0.7339 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.1987, allocations: 32.33 kB / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.1993, allocations: 265.8 kB / 0.7342 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.1993, allocations: 3.938 kB / 0.7342 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.1994, allocations: 11.98 kB / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1994, allocations: 4 kB / 0.7342 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.1999, allocations: 175.8 kB / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.2012, allocations: 0.691 MB / 0.735 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/0.2018, allocations: 195.7 kB / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.2021, allocations: 130.5 kB / 0.7353 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.957e-05/0.2021, allocations: 8 kB / 0.7353 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000727/0.2029, allocations: 323.9 kB / 0.7356 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 3.546e-06/0.2029, allocations: 0 / 0.7356 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001246/0.2041, allocations: 489.7 kB / 0.7361 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.2042, allocations: 110.8 kB / 0.7362 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.2045, allocations: 187.5 kB / 0.7364 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.2045, allocations: 37.7 kB / 0.7364 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.2046, allocations: 113.4 kB / 0.7365 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.2048, allocations: 158.8 kB / 0.7367 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.205, allocations: 106.3 kB / 0.7368 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.2052, allocations: 346.8 kB / 0.7371 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.2055, allocations: 141.2 kB / 0.7373 GB, free: 8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.2059, allocations: 256.7 kB / 0.7375 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.2066, allocations: 386.1 kB / 0.7379 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2066, allocations: 4 kB / 0.7379 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009931/0.2076, allocations: 497 kB / 0.7383 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.2076, allocations: 8 kB / 0.7384 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.2076, allocations: 4 kB / 0.7384 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.016e-05/0.2077, allocations: 7.938 kB / 0.7384 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.2081, allocations: 95.81 kB / 0.7385 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.2081, allocations: 8 kB / 0.7385 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.2084, allocations: 59.7 kB / 0.7385 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.2084, allocations: 28.73 kB / 0.7385 GB, free: 6.594 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.0002385/0.2087, allocations: 163.4 kB / 0.7387 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.2088, allocations: 31.8 kB / 0.7387 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.701e-05/0.2088, allocations: 29.97 kB / 0.7388 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2088, allocations: 4 kB / 0.7388 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.2088, allocations: 0 / 0.7388 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2089, allocations: 7.984 kB / 0.7388 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.2093, allocations: 280.5 kB / 0.739 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2093, allocations: 3.938 kB / 0.739 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.2097, allocations: 79.83 kB / 0.7391 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2097, allocations: 0 / 0.7391 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.2097, allocations: 19.98 kB / 0.7391 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.2097, allocations: 4.062 kB / 0.7391 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2097, allocations: 4 kB / 0.7392 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.2109, allocations: 0.584 MB / 0.7397 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.211, allocations: 35.69 kB / 0.7398 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.211, allocations: 11.98 kB / 0.7398 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.2113, allocations: 31.97 kB / 0.7398 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.2114, allocations: 51.91 kB / 0.7398 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.2115, allocations: 19.94 kB / 0.7399 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001098/0.2116, allocations: 125.2 kB / 0.74 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2116, allocations: 96 / 0.74 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000351/0.2119, allocations: 83.94 kB / 0.7401 GB, free: 4.969 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.001577/0.2135, allocations: 1.144 MB / 0.7412 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008123/0.2143, allocations: 367.3 kB / 0.7415 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2143, allocations: 0 / 0.7415 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.2147, allocations: 179.8 kB / 0.7417 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.2151, allocations: 38.27 kB / 0.7417 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.2197, allocations: 3.191 MB / 0.7449 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.2199, allocations: 156.2 kB / 0.745 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.2201, allocations: 39.53 kB / 0.745 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.2203, allocations: 99.38 kB / 0.7451 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.2203, allocations: 0 / 0.7451 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.2529, allocations: 6.967 MB / 0.7519 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.1, allocations: 4.062 kB / 0.7519 GB, free: 8.809 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.544626493006945] Failed to read output from testmodel.py, exit status != 0: 12.27395644201897 12.626770154 12.42787591 Calling exit ...