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.001789/0.001789, allocations: 119 kB / 19.69 MB, free: 2.199 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.001534/0.001534, allocations: 225.2 kB / 23.01 MB, free: 5.047 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.054/1.054, allocations: 150 MB / 463.2 MB, free: 10.48 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,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.001968/0.001968, allocations: 66.78 kB / 0.6413 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1927, allocations: 89.17 MB / 0.7284 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002422/0.1951, allocations: 1.097 MB / 0.7295 GB, free: 116 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1967, allocations: 1.151 MB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.1968, allocations: 4 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.223e-05/0.1968, allocations: 19.75 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.1969, allocations: 47.5 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.1974, allocations: 150.9 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.1978, allocations: 327.2 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.198, allocations: 32.58 kB / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.1982, allocations: 147.5 kB / 0.7313 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.1984, allocations: 151.4 kB / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.06e-05/0.1985, allocations: 31.94 kB / 0.7315 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.1986, allocations: 36 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.1986, allocations: 71.8 kB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1988, allocations: 139.3 kB / 0.7317 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.1992, allocations: 315.1 kB / 0.732 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1992, allocations: 0 / 0.732 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1992, allocations: 0 / 0.732 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.1992, allocations: 0 / 0.732 GB, free: 13.51 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.001255/0.2004, allocations: 0.5559 MB / 0.7326 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2005, allocations: 12.03 kB / 0.7326 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.289e-05/0.2005, allocations: 70.72 kB / 0.7326 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.2009, allocations: 56.72 kB / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.201, allocations: 151 kB / 0.7328 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003575/0.2014, allocations: 499.6 kB / 0.7333 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.2014, allocations: 24.38 kB / 0.7333 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.2019, allocations: 270 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.202, allocations: 3.953 kB / 0.7336 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.202, allocations: 8 kB / 0.7336 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.202, allocations: 4 kB / 0.7336 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.2024, allocations: 179.8 kB / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.2036, allocations: 0.7417 MB / 0.7345 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.2041, allocations: 195.7 kB / 0.7347 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.2044, allocations: 130.5 kB / 0.7348 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.2044, allocations: 8 kB / 0.7348 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006121/0.205, allocations: 319.8 kB / 0.7351 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 1.833e-06/0.205, allocations: 0 / 0.7351 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001069/0.2061, allocations: 480.6 kB / 0.7356 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/0.2062, allocations: 114.8 kB / 0.7357 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.2064, allocations: 187.5 kB / 0.7359 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.2064, allocations: 45.64 kB / 0.7359 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.2065, allocations: 109.4 kB / 0.736 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.2066, allocations: 162.7 kB / 0.7362 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.2068, allocations: 102.3 kB / 0.7363 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2069, allocations: 346.8 kB / 0.7366 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.2072, allocations: 145.2 kB / 0.7367 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.2077, allocations: 256.7 kB / 0.737 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/0.2083, allocations: 390.1 kB / 0.7374 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2083, allocations: 0 / 0.7374 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000881/0.2092, allocations: 497 kB / 0.7378 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2092, allocations: 7.938 kB / 0.7378 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.2092, allocations: 4 kB / 0.7378 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2093, allocations: 8 kB / 0.7378 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.2097, allocations: 99.89 kB / 0.7379 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.2097, allocations: 7.938 kB / 0.7379 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.21, allocations: 67.64 kB / 0.738 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.21, allocations: 23.98 kB / 0.738 GB, free: 6.879 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.0001819/0.2102, allocations: 159.5 kB / 0.7382 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.2102, allocations: 27.8 kB / 0.7382 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.2103, allocations: 33.95 kB / 0.7382 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.2103, allocations: 8 kB / 0.7383 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.2103, allocations: 0 / 0.7383 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2103, allocations: 0 / 0.7383 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.2107, allocations: 328.2 kB / 0.7386 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2107, allocations: 3.938 kB / 0.7386 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.2112, allocations: 75.89 kB / 0.7386 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.2112, allocations: 11.94 kB / 0.7387 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.2112, allocations: 11.98 kB / 0.7387 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2112, allocations: 4 kB / 0.7387 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2112, allocations: 0 / 0.7387 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.2123, allocations: 0.5822 MB / 0.7392 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.2124, allocations: 27.73 kB / 0.7393 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.2124, allocations: 12 kB / 0.7393 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.2126, allocations: 31.95 kB / 0.7393 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.2127, allocations: 55.92 kB / 0.7394 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.2128, allocations: 19.98 kB / 0.7394 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001078/0.2129, allocations: 121.2 kB / 0.7395 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2129, allocations: 4 kB / 0.7395 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003343/0.2132, allocations: 83.94 kB / 0.7396 GB, free: 5.223 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.001459/0.2147, allocations: 1.145 MB / 0.7407 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007495/0.2154, allocations: 364.2 kB / 0.741 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2154, allocations: 0 / 0.741 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.2158, allocations: 183.8 kB / 0.7412 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.2162, allocations: 42.58 kB / 0.7413 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/0.2205, allocations: 3.18 MB / 0.7444 GB, free: 128 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.221, allocations: 0.7648 MB / 0.7451 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.2211, allocations: 39.61 kB / 0.7452 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.2213, allocations: 95.34 kB / 0.7452 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.2213, allocations: 0 / 0.7452 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.2582, allocations: 6.911 MB / 0.752 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.58, allocations: 3.203 kB / 0.752 GB, free: 8.457 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.054136695001944] Failed to read output from testmodel.py, exit status != 0: 11.694623408999178 12.022965064 11.821283333 Calling exit ...