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.001217/0.001217, allocations: 97.11 kB / 19.74 MB, free: 1.871 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.001466/0.001466, allocations: 210.8 kB / 23.04 MB, free: 5.008 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.746 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.144/1.144, allocations: 150 MB / 463.2 MB, free: 10.18 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.002036/0.002036, allocations: 61.03 kB / 0.6413 GB, free: 9.82 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1933, allocations: 89.18 MB / 0.7284 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00239/0.1957, allocations: 1.017 MB / 0.7294 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1972, allocations: 1.131 MB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.473e-05/0.1973, allocations: 0 / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.919e-05/0.1973, allocations: 15.75 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.1975, allocations: 51.56 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.198, allocations: 151.7 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.1983, allocations: 331.1 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1985, allocations: 28.58 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.1987, allocations: 143.5 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.1989, allocations: 131.4 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.1989, allocations: 32 kB / 0.7314 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/0.199, allocations: 40 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.1991, allocations: 75.78 kB / 0.7315 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.1992, allocations: 115.5 kB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.1995, allocations: 319 kB / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1995, allocations: 4 kB / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1995, allocations: 0 / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1995, allocations: 0 / 0.7319 GB, free: 13.14 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.001213/0.2008, allocations: 0.556 MB / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2008, allocations: 8.031 kB / 0.7324 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.471e-05/0.2009, allocations: 58.72 kB / 0.7325 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.2012, allocations: 60.72 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.2014, allocations: 155 kB / 0.7327 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003544/0.2017, allocations: 495.6 kB / 0.7332 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.2018, allocations: 32.38 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.2023, allocations: 266 kB / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.2023, allocations: 3.953 kB / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.2023, allocations: 12 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2023, allocations: 4 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.2028, allocations: 175.8 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.2039, allocations: 0.6911 MB / 0.7343 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.2044, allocations: 191.7 kB / 0.7345 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.2046, allocations: 122.5 kB / 0.7346 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.2047, allocations: 15.98 kB / 0.7346 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006265/0.2053, allocations: 311.8 kB / 0.7349 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.314e-06/0.2053, allocations: 4 kB / 0.7349 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001057/0.2064, allocations: 489.2 kB / 0.7354 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.361e-05/0.2065, allocations: 118.8 kB / 0.7355 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.2066, allocations: 179.5 kB / 0.7357 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.2067, allocations: 49.69 kB / 0.7357 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.2068, allocations: 113.4 kB / 0.7358 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.2069, allocations: 158.8 kB / 0.736 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.2071, allocations: 106.3 kB / 0.7361 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2072, allocations: 334.8 kB / 0.7364 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.2075, allocations: 149.2 kB / 0.7365 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.2079, allocations: 256.7 kB / 0.7368 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006588/0.2086, allocations: 398 kB / 0.7372 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2086, allocations: 0 / 0.7372 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008778/0.2095, allocations: 489.7 kB / 0.7376 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.2095, allocations: 7.938 kB / 0.7376 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2095, allocations: 4 kB / 0.7377 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.2095, allocations: 8.094 kB / 0.7377 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.2099, allocations: 99.81 kB / 0.7378 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.2099, allocations: 7.984 kB / 0.7378 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.2102, allocations: 67.64 kB / 0.7378 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.2102, allocations: 20 kB / 0.7378 GB, free: 6.586 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.0001784/0.2104, allocations: 155.5 kB / 0.738 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.2105, allocations: 31.78 kB / 0.738 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.161e-05/0.2105, allocations: 29.97 kB / 0.7381 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.2106, allocations: 8 kB / 0.7381 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.2106, allocations: 7.938 kB / 0.7381 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2106, allocations: 7.922 kB / 0.7381 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.2109, allocations: 276.5 kB / 0.7383 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2109, allocations: 4 kB / 0.7383 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.2113, allocations: 71.89 kB / 0.7384 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.2114, allocations: 7.938 kB / 0.7384 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.2114, allocations: 11.98 kB / 0.7384 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.2114, allocations: 4 kB / 0.7384 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2114, allocations: 0 / 0.7384 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.2125, allocations: 0.59 MB / 0.739 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.2126, allocations: 27.73 kB / 0.739 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.2126, allocations: 12 kB / 0.739 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.2129, allocations: 36.02 kB / 0.7391 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.213, allocations: 59.91 kB / 0.7391 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.213, allocations: 16 kB / 0.7392 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001037/0.2131, allocations: 125.2 kB / 0.7393 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2131, allocations: 4 kB / 0.7393 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003322/0.2135, allocations: 79.95 kB / 0.7394 GB, free: 4.965 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.001435/0.2149, allocations: 1.14 MB / 0.7405 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007217/0.2156, allocations: 366.8 kB / 0.7408 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2156, allocations: 0 / 0.7408 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.216, allocations: 187.7 kB / 0.741 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.2163, allocations: 41.39 kB / 0.741 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.2207, allocations: 3.172 MB / 0.7441 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.2208, allocations: 160.2 kB / 0.7443 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000157/0.221, allocations: 39.14 kB / 0.7443 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.2212, allocations: 95.34 kB / 0.7444 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of SimCode: time 7.22e-07/0.2212, allocations: 0 / 0.7444 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03871/0.2599, allocations: 7.327 MB / 0.7516 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.45, allocations: 11.98 kB / 0.7516 GB, free: 8.426 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=50 --tolerance=1e-06 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: 15.781051610130817] Failed to read output from testmodel.py, exit status != 0: 11.567831539083272 11.879430823 11.677320167 Calling exit ...