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.001447/0.001447, allocations: 114.5 kB / 19.69 MB, free: 2.062 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.001855/0.001855, allocations: 222 kB / 23.01 MB, free: 4.922 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 8 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.046/1.046, allocations: 150 MB / 463.2 MB, free: 10.49 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_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.002169/0.002169, allocations: 65.34 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1997, allocations: 89.17 MB / 0.7284 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003673/0.2033, allocations: 2 MB / 0.7304 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2048, allocations: 0.7478 MB / 0.7311 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.205, allocations: 8 kB / 0.7311 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.676e-05/0.205, allocations: 23.67 kB / 0.7311 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.2052, allocations: 35.59 kB / 0.7312 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.2058, allocations: 170.5 kB / 0.7313 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004549/0.2062, allocations: 335.1 kB / 0.7316 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.2064, allocations: 37.19 kB / 0.7317 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.2067, allocations: 147.6 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.207, allocations: 143.4 kB / 0.7319 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.2071, allocations: 32 kB / 0.732 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.2072, allocations: 39.97 kB / 0.732 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.2072, allocations: 79.73 kB / 0.7321 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.2074, allocations: 131.4 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.2078, allocations: 322.6 kB / 0.7325 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.2078, allocations: 4 kB / 0.7325 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2078, allocations: 0 / 0.7325 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.2079, allocations: 0 / 0.7325 GB, free: 13.02 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.001475/0.2093, allocations: 0.556 MB / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.2094, allocations: 12.03 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.2095, allocations: 62.72 kB / 0.7331 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000376/0.2099, allocations: 60.72 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.2103, allocations: 187.3 kB / 0.7334 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/0.2107, allocations: 0.4918 MB / 0.7339 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.2108, allocations: 32.33 kB / 0.7339 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.2113, allocations: 265.7 kB / 0.7341 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.2114, allocations: 4 kB / 0.7341 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.2114, allocations: 8 kB / 0.7342 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.2114, allocations: 4 kB / 0.7342 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.2118, allocations: 179.8 kB / 0.7343 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.2131, allocations: 0.7456 MB / 0.7351 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.2136, allocations: 199.7 kB / 0.7353 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.2138, allocations: 122.5 kB / 0.7354 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.2139, allocations: 12.36 kB / 0.7354 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000538/0.2144, allocations: 319.6 kB / 0.7357 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.114e-06/0.2144, allocations: 3.938 kB / 0.7357 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001118/0.2155, allocations: 492.3 kB / 0.7362 GB, free: 9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/0.2156, allocations: 118.8 kB / 0.7363 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.2158, allocations: 182.8 kB / 0.7364 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.2159, allocations: 41.69 kB / 0.7365 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.216, allocations: 121.3 kB / 0.7366 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.2161, allocations: 150.8 kB / 0.7367 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.2163, allocations: 106.3 kB / 0.7368 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2165, allocations: 342.8 kB / 0.7372 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.2168, allocations: 149.2 kB / 0.7373 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.2172, allocations: 252.8 kB / 0.7376 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.2179, allocations: 390 kB / 0.7379 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2179, allocations: 0 / 0.7379 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000904/0.2188, allocations: 0.4937 MB / 0.7384 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.2188, allocations: 10.19 kB / 0.7384 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.2188, allocations: 4 kB / 0.7384 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.2188, allocations: 4 kB / 0.7384 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.2192, allocations: 95.83 kB / 0.7385 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.2193, allocations: 11.92 kB / 0.7385 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.2195, allocations: 51.75 kB / 0.7386 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.2196, allocations: 24 kB / 0.7386 GB, free: 6.359 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.0001896/0.2198, allocations: 155.5 kB / 0.7387 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.2198, allocations: 43.73 kB / 0.7388 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.418e-05/0.2199, allocations: 33.91 kB / 0.7388 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2199, allocations: 4 kB / 0.7388 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.2199, allocations: 4 kB / 0.7388 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.2199, allocations: 3.984 kB / 0.7388 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.2203, allocations: 336.3 kB / 0.7392 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2203, allocations: 7.938 kB / 0.7392 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.2208, allocations: 75.89 kB / 0.7392 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.2208, allocations: 4 kB / 0.7392 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.2208, allocations: 12 kB / 0.7393 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2208, allocations: 4 kB / 0.7393 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2208, allocations: 80 / 0.7393 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.2219, allocations: 0.5783 MB / 0.7398 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.222, allocations: 35.69 kB / 0.7399 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.222, allocations: 11.98 kB / 0.7399 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.2222, allocations: 27.97 kB / 0.7399 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.2224, allocations: 59.91 kB / 0.7399 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.2224, allocations: 23.98 kB / 0.74 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001096/0.2225, allocations: 120.4 kB / 0.7401 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2225, allocations: 4.188 kB / 0.7401 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003757/0.2229, allocations: 83.89 kB / 0.7402 GB, free: 4.668 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.001557/0.2245, allocations: 1.156 MB / 0.7413 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007762/0.2252, allocations: 362.7 kB / 0.7416 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2252, allocations: 0 / 0.7416 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.2256, allocations: 175.8 kB / 0.7418 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.226, allocations: 43.97 kB / 0.7419 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.2306, allocations: 3.196 MB / 0.745 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.231, allocations: 0.7687 MB / 0.7457 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.2311, allocations: 47.17 kB / 0.7458 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.2313, allocations: 91.41 kB / 0.7459 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.2313, allocations: 0 / 0.7459 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03992/0.2712, allocations: 7.001 MB / 0.7527 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.67, allocations: 5.938 kB / 0.7527 GB, free: 7.777 MB / 0.5762 GB " [Timeout remaining time 648] (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: 16.002941821003333] Failed to read output from testmodel.py, exit status != 0: 11.781473611015826 12.15135344 11.94074329 Calling exit ...