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.001623/0.001623, allocations: 104.3 kB / 19.7 MB, free: 1.934 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.002142/0.002142, allocations: 217.3 kB / 22.99 MB, free: 4.973 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.066/1.066, allocations: 149.9 MB / 463 MB, free: 10.32 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_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.002192/0.002192, allocations: 63.81 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.206, allocations: 89.18 MB / 0.7282 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003758/0.2097, allocations: 1.896 MB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2112, allocations: 0.7051 MB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.717e-05/0.2113, allocations: 0 / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.529e-05/0.2113, allocations: 23.67 kB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.2115, allocations: 39.58 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.2121, allocations: 175 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005043/0.2126, allocations: 327.1 kB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.2128, allocations: 41.08 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.2131, allocations: 143.6 kB / 0.7315 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.2134, allocations: 135.4 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/0.2134, allocations: 28 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.461e-05/0.2135, allocations: 32 kB / 0.7317 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2136, allocations: 83.72 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.2138, allocations: 115.5 kB / 0.7319 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.2143, allocations: 322.7 kB / 0.7322 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.2143, allocations: 3.984 kB / 0.7322 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2143, allocations: 0 / 0.7322 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.2143, allocations: 0 / 0.7322 GB, free: 12.9 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.001488/0.2158, allocations: 0.5599 MB / 0.7327 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.2158, allocations: 11.97 kB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.716e-05/0.2159, allocations: 58.73 kB / 0.7328 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.2163, allocations: 64.7 kB / 0.7328 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.2168, allocations: 187.3 kB / 0.733 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004432/0.2172, allocations: 0.4996 MB / 0.7335 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.2173, allocations: 28.33 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.2178, allocations: 261.7 kB / 0.7338 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.2178, allocations: 8 kB / 0.7338 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.2179, allocations: 4 kB / 0.7338 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.2179, allocations: 8 kB / 0.7338 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.2183, allocations: 171.8 kB / 0.734 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.2195, allocations: 0.691 MB / 0.7346 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.2201, allocations: 203.7 kB / 0.7348 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.2204, allocations: 122.5 kB / 0.735 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-05/0.2204, allocations: 16.3 kB / 0.735 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006103/0.2211, allocations: 307.5 kB / 0.7353 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.575e-06/0.2211, allocations: 0 / 0.7353 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001296/0.2223, allocations: 499.3 kB / 0.7357 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.2225, allocations: 110.8 kB / 0.7358 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.2227, allocations: 186.8 kB / 0.736 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.2227, allocations: 41.7 kB / 0.7361 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.2228, allocations: 129.2 kB / 0.7362 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.223, allocations: 150.8 kB / 0.7363 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.2232, allocations: 110.3 kB / 0.7364 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002243/0.2234, allocations: 342.7 kB / 0.7368 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.2237, allocations: 145.2 kB / 0.7369 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.2242, allocations: 252.8 kB / 0.7371 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000739/0.2249, allocations: 402 kB / 0.7375 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2249, allocations: 0 / 0.7375 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009364/0.2258, allocations: 0.4897 MB / 0.738 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.2259, allocations: 5.875 kB / 0.738 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2259, allocations: 4 kB / 0.738 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.2259, allocations: 8 kB / 0.738 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.2263, allocations: 95.81 kB / 0.7381 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.2263, allocations: 7.938 kB / 0.7381 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.2266, allocations: 63.75 kB / 0.7382 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.2267, allocations: 20 kB / 0.7382 GB, free: 6.289 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.0002342/0.2269, allocations: 159.5 kB / 0.7383 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-05/0.2269, allocations: 31.75 kB / 0.7384 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.772e-05/0.227, allocations: 33.97 kB / 0.7384 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.227, allocations: 4 kB / 0.7384 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.2271, allocations: 0 / 0.7384 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.2271, allocations: 7.984 kB / 0.7384 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.2275, allocations: 292.4 kB / 0.7387 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.2275, allocations: 8 kB / 0.7387 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.2279, allocations: 71.91 kB / 0.7388 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.2279, allocations: 7.984 kB / 0.7388 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.2279, allocations: 8 kB / 0.7388 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2279, allocations: 0 / 0.7388 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2279, allocations: 4 kB / 0.7388 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.2292, allocations: 0.5822 MB / 0.7394 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.2292, allocations: 35.69 kB / 0.7394 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.2292, allocations: 15.98 kB / 0.7394 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.2295, allocations: 27.97 kB / 0.7394 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.2296, allocations: 59.91 kB / 0.7395 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.2296, allocations: 15.98 kB / 0.7395 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001207/0.2298, allocations: 124.4 kB / 0.7396 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2298, allocations: 0 / 0.7396 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003324/0.2301, allocations: 83.95 kB / 0.7397 GB, free: 4.652 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.00161/0.2317, allocations: 1.147 MB / 0.7408 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008659/0.2326, allocations: 363 kB / 0.7412 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2326, allocations: 4 kB / 0.7412 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000402/0.233, allocations: 179.8 kB / 0.7414 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.2333, allocations: 41.55 kB / 0.7414 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.2381, allocations: 3.196 MB / 0.7445 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.2382, allocations: 160.1 kB / 0.7447 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.2384, allocations: 47.22 kB / 0.7447 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.2386, allocations: 95.41 kB / 0.7448 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/0.2386, allocations: 0 / 0.7448 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03945/0.278, allocations: 7.411 MB / 0.752 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.67, allocations: 4.062 kB / 0.752 GB, free: 8.008 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: 15.96868679113686] Failed to read output from testmodel.py, exit status != 0: 11.785882172174752 12.114312924 11.895057537 Calling exit ...