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.001299/0.001299, allocations: 116.3 kB / 17.84 MB, free: 5.312 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.001366/0.001366, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.55/1.55, allocations: 230.6 MB / 254.2 MB, free: 15.04 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.9991/0.9991, allocations: 150 MB / 460.2 MB, free: 5.223 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="cs",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="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.002166/0.002166, allocations: 66.62 kB / 0.6369 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1806, allocations: 89.13 MB / 0.7239 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003983/0.1846, allocations: 1.998 MB / 0.7259 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1861, allocations: 0.7401 MB / 0.7266 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.1863, allocations: 0 / 0.7266 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.594e-05/0.1864, allocations: 19.73 kB / 0.7266 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.1866, allocations: 43.52 kB / 0.7266 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/0.1873, allocations: 175.4 kB / 0.7268 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004986/0.1878, allocations: 335.1 kB / 0.7271 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.1879, allocations: 33.02 kB / 0.7272 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.1883, allocations: 143.6 kB / 0.7273 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.1885, allocations: 151.4 kB / 0.7274 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.143e-05/0.1886, allocations: 31.94 kB / 0.7275 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.293e-05/0.1886, allocations: 35.98 kB / 0.7275 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.993e-05/0.1887, allocations: 75.78 kB / 0.7276 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.1889, allocations: 135.4 kB / 0.7277 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.1893, allocations: 322.6 kB / 0.728 GB, free: 15.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1893, allocations: 4 kB / 0.728 GB, free: 15.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1893, allocations: 0 / 0.728 GB, free: 15.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.1893, allocations: 0 / 0.728 GB, free: 15.74 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.001452/0.1908, allocations: 0.6351 MB / 0.7286 GB, free: 15.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.1909, allocations: 12.02 kB / 0.7286 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.557e-05/0.1909, allocations: 12.62 kB / 0.7287 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.157e-05/0.191, allocations: 54.73 kB / 0.7287 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003617/0.1913, allocations: 56.72 kB / 0.7288 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.1917, allocations: 249.2 kB / 0.729 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.192, allocations: 264.3 kB / 0.7293 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/0.1921, allocations: 48 kB / 0.7293 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.1926, allocations: 245.8 kB / 0.7295 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.1926, allocations: 7.984 kB / 0.7295 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.1927, allocations: 11.98 kB / 0.7296 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1927, allocations: 4 kB / 0.7296 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.1931, allocations: 183.8 kB / 0.7297 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.1944, allocations: 0.7737 MB / 0.7305 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.1949, allocations: 199.7 kB / 0.7307 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.1951, allocations: 134.7 kB / 0.7308 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.1952, allocations: 8.375 kB / 0.7308 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005578/0.1957, allocations: 319.2 kB / 0.7311 GB, free: 12.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.194e-06/0.1957, allocations: 0 / 0.7311 GB, free: 12.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001108/0.1969, allocations: 498.2 kB / 0.7316 GB, free: 11.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.1969, allocations: 114.8 kB / 0.7317 GB, free: 11.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1971, allocations: 182.2 kB / 0.7319 GB, free: 11.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.1972, allocations: 41.69 kB / 0.7319 GB, free: 11.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/0.1973, allocations: 121.3 kB / 0.732 GB, free: 11.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.1974, allocations: 154.8 kB / 0.7322 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.1976, allocations: 110.3 kB / 0.7323 GB, free: 11.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1978, allocations: 338.8 kB / 0.7326 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.1981, allocations: 145.2 kB / 0.7327 GB, free: 10.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.1985, allocations: 256.8 kB / 0.733 GB, free: 10.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006853/0.1992, allocations: 394 kB / 0.7334 GB, free: 9.836 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1992, allocations: 0 / 0.7334 GB, free: 9.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009064/0.2001, allocations: 0.4892 MB / 0.7338 GB, free: 9.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.2001, allocations: 5.875 kB / 0.7339 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2001, allocations: 4 kB / 0.7339 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.2001, allocations: 4 kB / 0.7339 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.2005, allocations: 99.81 kB / 0.734 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.2006, allocations: 7.938 kB / 0.734 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.2008, allocations: 67.69 kB / 0.734 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.2009, allocations: 20 kB / 0.734 GB, free: 9.137 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.0001835/0.2011, allocations: 155.5 kB / 0.7342 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.2011, allocations: 35.73 kB / 0.7342 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.635e-05/0.2012, allocations: 29.88 kB / 0.7343 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2012, allocations: 12.09 kB / 0.7343 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.2012, allocations: 0 / 0.7343 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.2012, allocations: 7.969 kB / 0.7343 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.2016, allocations: 361.2 kB / 0.7346 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2016, allocations: 4 kB / 0.7346 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.2021, allocations: 71.89 kB / 0.7347 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.2021, allocations: 4 kB / 0.7347 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.2021, allocations: 12 kB / 0.7347 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.2021, allocations: 4 kB / 0.7347 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.2021, allocations: 4.062 kB / 0.7347 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.2032, allocations: 0.5901 MB / 0.7353 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.842e-05/0.2033, allocations: 108.9 kB / 0.7354 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.2034, allocations: 8 kB / 0.7354 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.2036, allocations: 31.97 kB / 0.7354 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.2037, allocations: 63.86 kB / 0.7355 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.2038, allocations: 16 kB / 0.7355 GB, free: 7.531 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001181/0.2039, allocations: 132.3 kB / 0.7356 GB, free: 7.402 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2039, allocations: 0 / 0.7356 GB, free: 7.402 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003377/0.2042, allocations: 79.95 kB / 0.7357 GB, free: 7.324 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.001575/0.2058, allocations: 1.151 MB / 0.7368 GB, free: 6.145 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007981/0.2066, allocations: 360.6 kB / 0.7372 GB, free: 5.793 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2066, allocations: 0 / 0.7372 GB, free: 5.793 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.207, allocations: 175.8 kB / 0.7373 GB, free: 5.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.2074, allocations: 52.11 kB / 0.7374 GB, free: 5.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/0.212, allocations: 3.184 MB / 0.7405 GB, free: 2.219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.2124, allocations: 0.7647 MB / 0.7413 GB, free: 1.422 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001642/0.2125, allocations: 42.95 kB / 0.7413 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.2127, allocations: 91.41 kB / 0.7414 GB, free: 1.293 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.2127, allocations: 0 / 0.7414 GB, free: 1.293 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.2397, allocations: 6.714 MB / 0.7479 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.866/9.106, allocations: 7.938 kB / 0.7479 GB, free: 10.79 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --stepSize=0.32 --timeout=50 --tolerance=1e-06 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: 13.176604943000712] Failed to read output from testmodel.py, exit status != 0: 9.23991542699514 9.264865197 9.07090789 Calling exit ...