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.001467/0.001467, allocations: 114.8 kB / 19.69 MB, free: 2.047 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.001489/0.001489, allocations: 221.1 kB / 23.01 MB, free: 4.926 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8 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 0.9739/0.9739, allocations: 150 MB / 463.2 MB, free: 10.47 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.002079/0.002079, allocations: 66.36 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1961, allocations: 89.17 MB / 0.7284 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002244/0.1984, allocations: 1.099 MB / 0.7295 GB, free: 116 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1999, allocations: 1.159 MB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.463e-05/0.1999, allocations: 0 / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.358e-05/0.2, allocations: 19.69 kB / 0.7306 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2001, allocations: 35.59 kB / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.2005, allocations: 153.8 kB / 0.7308 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.2009, allocations: 331 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.201, allocations: 40.58 kB / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.2012, allocations: 135.7 kB / 0.7313 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.2014, allocations: 155.3 kB / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.2015, allocations: 28 kB / 0.7315 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.2016, allocations: 32 kB / 0.7315 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.2017, allocations: 79.78 kB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.2018, allocations: 135.4 kB / 0.7317 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.2021, allocations: 326.9 kB / 0.732 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2021, allocations: 0 / 0.732 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2021, allocations: 0 / 0.732 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.2022, allocations: 4 kB / 0.732 GB, free: 13.5 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.001186/0.2033, allocations: 0.556 MB / 0.7326 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2034, allocations: 8.031 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.7e-05/0.2034, allocations: 58.72 kB / 0.7326 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/0.2038, allocations: 56.72 kB / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.2039, allocations: 147 kB / 0.7328 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.2042, allocations: 499.6 kB / 0.7333 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.2043, allocations: 32.38 kB / 0.7333 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.2048, allocations: 262 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.2048, allocations: 7.953 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.2048, allocations: 8 kB / 0.7336 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.2048, allocations: 8 kB / 0.7336 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005031/0.2053, allocations: 169.9 kB / 0.7338 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.2064, allocations: 0.7494 MB / 0.7345 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.2069, allocations: 199.7 kB / 0.7347 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.2072, allocations: 126.5 kB / 0.7348 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.2072, allocations: 7.984 kB / 0.7348 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005602/0.2078, allocations: 327.8 kB / 0.7351 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 1.663e-06/0.2078, allocations: 0 / 0.7351 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.0009994/0.2088, allocations: 483.2 kB / 0.7356 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.2088, allocations: 122.8 kB / 0.7357 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.209, allocations: 179.5 kB / 0.7359 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.2091, allocations: 41.7 kB / 0.7359 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.2091, allocations: 117.4 kB / 0.736 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.2093, allocations: 162.7 kB / 0.7362 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.2094, allocations: 98.34 kB / 0.7363 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2096, allocations: 342.8 kB / 0.7366 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.2099, allocations: 149.2 kB / 0.7367 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.2103, allocations: 252.8 kB / 0.737 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/0.211, allocations: 398 kB / 0.7374 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.211, allocations: 0 / 0.7374 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008328/0.2118, allocations: 489.6 kB / 0.7378 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2118, allocations: 11.94 kB / 0.7378 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2118, allocations: 3.984 kB / 0.7378 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.2118, allocations: 8 kB / 0.7378 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.2122, allocations: 95.77 kB / 0.7379 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.2122, allocations: 8 kB / 0.7379 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.2125, allocations: 63.64 kB / 0.738 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.2125, allocations: 20 kB / 0.738 GB, free: 6.887 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.0001733/0.2127, allocations: 163.5 kB / 0.7382 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.2128, allocations: 31.8 kB / 0.7382 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.551e-05/0.2128, allocations: 29.97 kB / 0.7382 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.2128, allocations: 7.984 kB / 0.7382 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2128, allocations: 0 / 0.7382 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.2128, allocations: 7.938 kB / 0.7383 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.2132, allocations: 324.3 kB / 0.7386 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2132, allocations: 4 kB / 0.7386 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.2136, allocations: 75.89 kB / 0.7386 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2136, allocations: 3.938 kB / 0.7386 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.2137, allocations: 19.94 kB / 0.7387 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.2137, allocations: 4.062 kB / 0.7387 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2137, allocations: 0 / 0.7387 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.2147, allocations: 0.5745 MB / 0.7392 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.2148, allocations: 43.8 kB / 0.7393 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.2148, allocations: 8 kB / 0.7393 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.215, allocations: 23.97 kB / 0.7393 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.2152, allocations: 67.94 kB / 0.7394 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.2152, allocations: 19.98 kB / 0.7394 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.414e-05/0.2153, allocations: 121.2 kB / 0.7395 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2153, allocations: 0 / 0.7395 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003194/0.2156, allocations: 83.95 kB / 0.7396 GB, free: 5.219 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.001558/0.2172, allocations: 1.153 MB / 0.7407 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000749/0.2179, allocations: 362.8 kB / 0.7411 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2179, allocations: 0 / 0.7411 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.2183, allocations: 175.7 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.0003273/0.2186, allocations: 48.28 kB / 0.7413 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.2229, allocations: 3.187 MB / 0.7444 GB, free: 116 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.2233, allocations: 0.7609 MB / 0.7451 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.2234, allocations: 42.95 kB / 0.7452 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.2236, allocations: 91.41 kB / 0.7453 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.2236, allocations: 0 / 0.7453 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.2593, allocations: 6.9 MB / 0.752 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.69, allocations: 4.016 kB / 0.752 GB, free: 8.461 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.789135149912909] Failed to read output from testmodel.py, exit status != 0: 11.80040301498957 12.13992307 11.93509647 Calling exit ...