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.001249/0.001249, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001378/0.001378, allocations: 220 kB / 23 MB, free: 5.004 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.579/1.579, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.052/1.052, allocations: 150 MB / 463.2 MB, free: 10.55 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.001941/0.001941, allocations: 70.27 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2069, allocations: 89.17 MB / 0.7284 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003665/0.2106, allocations: 1.993 MB / 0.7304 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.2121, allocations: 0.7479 MB / 0.7311 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.2122, allocations: 4 kB / 0.7311 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.913e-05/0.2123, allocations: 19.69 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.2124, allocations: 47.56 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.213, allocations: 170.6 kB / 0.7313 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.2135, allocations: 335.1 kB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.2137, allocations: 37.14 kB / 0.7317 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003298/0.2141, allocations: 135.7 kB / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.2143, allocations: 155.3 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.2144, allocations: 32 kB / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.928e-05/0.2145, allocations: 36 kB / 0.732 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.937e-05/0.2146, allocations: 83.72 kB / 0.7321 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.2147, allocations: 131.4 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.2152, allocations: 318.7 kB / 0.7325 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2152, allocations: 0 / 0.7325 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2152, allocations: 0 / 0.7325 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.2152, allocations: 4 kB / 0.7325 GB, free: 13.03 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.001378/0.2166, allocations: 0.5598 MB / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2166, allocations: 8.031 kB / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.931e-05/0.2167, allocations: 62.67 kB / 0.7331 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/0.217, allocations: 68.72 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.2174, allocations: 191.2 kB / 0.7334 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003684/0.2177, allocations: 499.6 kB / 0.7339 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.2178, allocations: 32.31 kB / 0.7339 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.2183, allocations: 257.7 kB / 0.7341 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.2183, allocations: 11.98 kB / 0.7341 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.2183, allocations: 11.94 kB / 0.7342 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2183, allocations: 4 kB / 0.7342 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.2188, allocations: 173.9 kB / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.2199, allocations: 0.7494 MB / 0.7351 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.2204, allocations: 199.7 kB / 0.7353 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.2207, allocations: 131.2 kB / 0.7354 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.2207, allocations: 8.375 kB / 0.7354 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005334/0.2212, allocations: 315.4 kB / 0.7357 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 1.513e-06/0.2213, allocations: 0 / 0.7357 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001115/0.2224, allocations: 494.9 kB / 0.7362 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.2224, allocations: 114.8 kB / 0.7363 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.2226, allocations: 186.8 kB / 0.7364 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.2227, allocations: 41.7 kB / 0.7365 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.2228, allocations: 125.3 kB / 0.7366 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.2229, allocations: 150.8 kB / 0.7367 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.223, allocations: 106.3 kB / 0.7368 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2232, allocations: 342.8 kB / 0.7372 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.2235, allocations: 145.2 kB / 0.7373 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.2239, allocations: 256.7 kB / 0.7376 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006463/0.2246, allocations: 394.1 kB / 0.7379 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2246, allocations: 4 kB / 0.7379 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008576/0.2254, allocations: 489.5 kB / 0.7384 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.2254, allocations: 8 kB / 0.7384 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2254, allocations: 0 / 0.7384 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.2255, allocations: 12 kB / 0.7384 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.2259, allocations: 95.77 kB / 0.7385 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.2259, allocations: 12.2 kB / 0.7385 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.2262, allocations: 59.75 kB / 0.7386 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.2262, allocations: 23.98 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.0001914/0.2264, allocations: 159.5 kB / 0.7388 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.2264, allocations: 35.75 kB / 0.7388 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.811e-05/0.2265, allocations: 33.95 kB / 0.7388 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2265, allocations: 4 kB / 0.7388 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.2265, allocations: 3.938 kB / 0.7388 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2265, allocations: 4 kB / 0.7388 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.2269, allocations: 336.2 kB / 0.7392 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2269, allocations: 3.938 kB / 0.7392 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.2274, allocations: 71.89 kB / 0.7392 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.2274, allocations: 4 kB / 0.7392 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.2274, allocations: 19.98 kB / 0.7393 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2274, allocations: 4 kB / 0.7393 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2274, allocations: 0 / 0.7393 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.2285, allocations: 0.5823 MB / 0.7398 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.2286, allocations: 35.67 kB / 0.7399 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.2286, allocations: 8 kB / 0.7399 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.2289, allocations: 35.95 kB / 0.7399 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.229, allocations: 55.91 kB / 0.74 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.229, allocations: 16 kB / 0.74 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001035/0.2291, allocations: 124.4 kB / 0.7401 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2291, allocations: 4 kB / 0.7401 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003222/0.2295, allocations: 84.05 kB / 0.7402 GB, free: 4.672 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.001407/0.2309, allocations: 1.154 MB / 0.7413 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007854/0.2317, allocations: 358.7 kB / 0.7416 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2317, allocations: 0 / 0.7416 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.232, allocations: 185.3 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.0003362/0.2324, allocations: 34.33 kB / 0.7419 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.2367, allocations: 3.206 MB / 0.745 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.2371, allocations: 0.7726 MB / 0.7457 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.2372, allocations: 34.97 kB / 0.7458 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.2374, allocations: 103.3 kB / 0.7459 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.2374, allocations: 0 / 0.7459 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03517/0.2726, allocations: 6.997 MB / 0.7527 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.48, allocations: 5.484 kB / 0.7527 GB, free: 7.781 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 & 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: 15.95333394699992] Failed to read output from testmodel.py, exit status != 0: 11.593460739000875 11.965128267 11.747181574 Calling exit ...