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.001286/0.001286, allocations: 114 kB / 17.12 MB, free: 6.008 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.001781/0.001781, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.517/1.517, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.9893/0.9893, allocations: 150 MB / 459.5 MB, free: 5.312 MB / 350.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_nonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",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.003439/0.003439, allocations: 66.47 kB / 0.6362 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1836, allocations: 89.13 MB / 0.7232 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003338/0.187, allocations: 1.996 MB / 0.7252 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1883, allocations: 0.744 MB / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.1884, allocations: 4 kB / 0.7259 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.537e-05/0.1884, allocations: 19.69 kB / 0.7259 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.1886, allocations: 43.56 kB / 0.726 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.1891, allocations: 167.7 kB / 0.7261 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004502/0.1895, allocations: 331 kB / 0.7264 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1896, allocations: 41.02 kB / 0.7265 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.1899, allocations: 135.7 kB / 0.7266 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.1901, allocations: 159.3 kB / 0.7268 GB, free: 348 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.1901, allocations: 32 kB / 0.7268 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.149e-05/0.1902, allocations: 35.94 kB / 0.7268 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.1903, allocations: 75.8 kB / 0.7269 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.1904, allocations: 135.3 kB / 0.727 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.1908, allocations: 314.7 kB / 0.7273 GB, free: 15.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1908, allocations: 0 / 0.7273 GB, free: 15.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1908, allocations: 4 kB / 0.7273 GB, free: 15.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.1908, allocations: 3.938 kB / 0.7273 GB, free: 15.75 MB / 0.545 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.001329/0.1921, allocations: 0.639 MB / 0.728 GB, free: 15.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1922, allocations: 12.03 kB / 0.728 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.627e-05/0.1923, allocations: 54.73 kB / 0.728 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003246/0.1926, allocations: 60.7 kB / 0.7281 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1929, allocations: 245.2 kB / 0.7283 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.1932, allocations: 264.3 kB / 0.7286 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.578e-05/0.1933, allocations: 40.33 kB / 0.7286 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.1938, allocations: 257.6 kB / 0.7288 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1938, allocations: 4 kB / 0.7289 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.1938, allocations: 8 kB / 0.7289 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1938, allocations: 8 kB / 0.7289 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/0.1943, allocations: 175.8 kB / 0.729 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.1954, allocations: 0.7776 MB / 0.7298 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.1959, allocations: 203.7 kB / 0.73 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.1962, allocations: 126.5 kB / 0.7301 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.961e-05/0.1962, allocations: 16.34 kB / 0.7301 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006062/0.1969, allocations: 311.4 kB / 0.7304 GB, free: 12.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.053e-06/0.1969, allocations: 0 / 0.7304 GB, free: 12.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001214/0.1981, allocations: 494.6 kB / 0.7309 GB, free: 11.81 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1982, allocations: 114.8 kB / 0.731 GB, free: 11.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.1984, allocations: 186.2 kB / 0.7312 GB, free: 11.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.1984, allocations: 41.7 kB / 0.7312 GB, free: 11.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.1985, allocations: 117.3 kB / 0.7313 GB, free: 11.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.1987, allocations: 154.8 kB / 0.7315 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.1989, allocations: 106.3 kB / 0.7316 GB, free: 11.06 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1991, allocations: 350.8 kB / 0.7319 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.1994, allocations: 149.2 kB / 0.7321 GB, free: 10.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.1998, allocations: 252.8 kB / 0.7323 GB, free: 10.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/0.2005, allocations: 390.1 kB / 0.7327 GB, free: 9.859 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2005, allocations: 3.938 kB / 0.7327 GB, free: 9.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009364/0.2015, allocations: 0.4931 MB / 0.7332 GB, free: 9.355 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2015, allocations: 4 kB / 0.7332 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.2015, allocations: 7.984 kB / 0.7332 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.2015, allocations: 8 kB / 0.7332 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.2019, allocations: 91.83 kB / 0.7333 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.202, allocations: 4 kB / 0.7333 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.2022, allocations: 63.75 kB / 0.7333 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.2023, allocations: 23.94 kB / 0.7334 GB, free: 9.156 MB / 0.545 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.0001974/0.2025, allocations: 159.5 kB / 0.7335 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.2025, allocations: 31.75 kB / 0.7335 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/0.2026, allocations: 33.88 kB / 0.7336 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.2026, allocations: 7.984 kB / 0.7336 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.2026, allocations: 0 / 0.7336 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2026, allocations: 4 kB / 0.7336 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.2031, allocations: 361.2 kB / 0.7339 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2031, allocations: 3.938 kB / 0.7339 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.2035, allocations: 75.89 kB / 0.734 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2035, allocations: 0 / 0.734 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.2035, allocations: 19.98 kB / 0.734 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2035, allocations: 0 / 0.734 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2035, allocations: 8.578 kB / 0.734 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.2047, allocations: 0.5786 MB / 0.7346 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.179e-05/0.2048, allocations: 108.8 kB / 0.7347 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.2048, allocations: 12 kB / 0.7347 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.205, allocations: 35.95 kB / 0.7347 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.2052, allocations: 52.03 kB / 0.7348 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.2052, allocations: 27.86 kB / 0.7348 GB, free: 7.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000111/0.2053, allocations: 128.3 kB / 0.7349 GB, free: 7.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2053, allocations: 0 / 0.7349 GB, free: 7.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003397/0.2057, allocations: 83.95 kB / 0.735 GB, free: 7.348 MB / 0.545 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.001571/0.2072, allocations: 1.143 MB / 0.7361 GB, free: 6.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008365/0.2081, allocations: 363.7 kB / 0.7365 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2081, allocations: 0 / 0.7365 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003913/0.2085, allocations: 175.7 kB / 0.7366 GB, free: 5.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.2088, allocations: 55.16 kB / 0.7367 GB, free: 5.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.2133, allocations: 3.197 MB / 0.7398 GB, free: 2.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.2137, allocations: 0.7608 MB / 0.7406 GB, free: 1.438 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.2138, allocations: 42.95 kB / 0.7406 GB, free: 1.398 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.214, allocations: 91.41 kB / 0.7407 GB, free: 1.309 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/0.214, allocations: 4 kB / 0.7407 GB, free: 1.305 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.2473, allocations: 6.653 MB / 0.7472 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.675/8.922, allocations: 11.36 kB / 0.7472 GB, free: 10.82 MB / 0.5606 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.csv --start-time 100 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.32 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.863630383973941] Failed to read output from testmodel.py, exit status != 0: 8.998287530150265 9.020896821 8.825680976 Calling exit ...