Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.001338/0.001338, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001543/0.001543, allocations: 212.8 kB / 22.99 MB, free: 4.605 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.48/1.48, 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.076/1.076, allocations: 149.9 MB / 463 MB, free: 10.4 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,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",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.002136/0.002136, allocations: 66.62 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2008, allocations: 89.18 MB / 0.7282 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002458/0.2033, allocations: 1.013 MB / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.205, allocations: 1.139 MB / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.2051, allocations: 0 / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.2052, allocations: 19.69 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.2054, allocations: 39.58 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.2059, allocations: 154.1 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004332/0.2063, allocations: 323.1 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.2065, allocations: 44.55 kB / 0.7309 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.2068, allocations: 135.6 kB / 0.731 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.207, allocations: 135.3 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.207, allocations: 28 kB / 0.7312 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.2071, allocations: 32 kB / 0.7312 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.462e-05/0.2072, allocations: 79.78 kB / 0.7313 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.2073, allocations: 115.5 kB / 0.7314 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.2077, allocations: 319 kB / 0.7317 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2077, allocations: 0 / 0.7317 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2077, allocations: 0 / 0.7317 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.2077, allocations: 0 / 0.7317 GB, free: 13.43 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.001238/0.209, allocations: 0.5637 MB / 0.7322 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.209, allocations: 16.03 kB / 0.7322 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.2091, allocations: 54.73 kB / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.2094, allocations: 64.69 kB / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.2097, allocations: 139 kB / 0.7325 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005994/0.2103, allocations: 0.4918 MB / 0.733 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/0.2104, allocations: 40.2 kB / 0.733 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/0.2111, allocations: 258.1 kB / 0.7333 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.2111, allocations: 4 kB / 0.7333 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.2111, allocations: 12 kB / 0.7333 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.2111, allocations: 8 kB / 0.7333 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.2117, allocations: 171.8 kB / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.2128, allocations: 0.6911 MB / 0.7341 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.2133, allocations: 195.7 kB / 0.7343 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.2136, allocations: 130.5 kB / 0.7344 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.2136, allocations: 4 kB / 0.7344 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000644/0.2143, allocations: 319.8 kB / 0.7347 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.225e-06/0.2143, allocations: 0 / 0.7347 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001205/0.2155, allocations: 493.6 kB / 0.7352 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/0.2156, allocations: 114.8 kB / 0.7353 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.2158, allocations: 175.5 kB / 0.7355 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.2158, allocations: 41.7 kB / 0.7355 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/0.2159, allocations: 113.4 kB / 0.7356 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.216, allocations: 162.7 kB / 0.7358 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.2162, allocations: 102.3 kB / 0.7359 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2164, allocations: 338.8 kB / 0.7362 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.2167, allocations: 149.2 kB / 0.7363 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.2171, allocations: 260.6 kB / 0.7366 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/0.2178, allocations: 394.1 kB / 0.737 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2178, allocations: 0 / 0.737 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001002/0.2188, allocations: 493.7 kB / 0.7374 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2188, allocations: 7.938 kB / 0.7374 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.2188, allocations: 8 kB / 0.7375 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2189, allocations: 4 kB / 0.7375 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.2193, allocations: 99.83 kB / 0.7376 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.2193, allocations: 8 kB / 0.7376 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.2196, allocations: 67.64 kB / 0.7376 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.2196, allocations: 23.98 kB / 0.7377 GB, free: 6.859 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.0001884/0.2198, allocations: 162.8 kB / 0.7378 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.2198, allocations: 27.8 kB / 0.7378 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.796e-05/0.2199, allocations: 33.95 kB / 0.7379 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.2199, allocations: 8 kB / 0.7379 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.2199, allocations: 0 / 0.7379 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2199, allocations: 0 / 0.7379 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.2203, allocations: 288.4 kB / 0.7381 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2203, allocations: 0 / 0.7381 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.2207, allocations: 75.89 kB / 0.7382 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.2207, allocations: 7.938 kB / 0.7382 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.2208, allocations: 12 kB / 0.7382 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.2208, allocations: 7.938 kB / 0.7382 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2208, allocations: 3.984 kB / 0.7382 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.222, allocations: 0.5822 MB / 0.7388 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.2221, allocations: 31.69 kB / 0.7388 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.2221, allocations: 12 kB / 0.7389 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.2223, allocations: 31.97 kB / 0.7389 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.2225, allocations: 59.91 kB / 0.7389 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.2225, allocations: 11.98 kB / 0.739 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001385/0.2227, allocations: 125.2 kB / 0.7391 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2227, allocations: 0 / 0.7391 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003459/0.223, allocations: 80 kB / 0.7392 GB, free: 5.246 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.001743/0.2247, allocations: 1.144 MB / 0.7403 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008466/0.2256, allocations: 362.6 kB / 0.7406 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.2256, allocations: 4 kB / 0.7406 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003844/0.226, allocations: 179.5 kB / 0.7408 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.2263, allocations: 46.31 kB / 0.7408 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/0.2309, allocations: 3.183 MB / 0.7439 GB, free: 148 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.2311, allocations: 148.5 kB / 0.7441 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.2313, allocations: 47.22 kB / 0.7441 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.2315, allocations: 95.41 kB / 0.7442 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of SimCode: time 8.22e-07/0.2315, allocations: 0 / 0.7442 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04016/0.2716, allocations: 7.311 MB / 0.7514 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.1, allocations: 15.62 kB / 0.7514 GB, free: 8.719 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.459576692897826] Failed to read output from testmodel.py, exit status != 0: 12.209558566100895 12.49527037 12.284897982 Calling exit ...