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.001245/0.001245, allocations: 105 kB / 20.45 MB, free: 1.5 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.001383/0.001383, allocations: 219.9 kB / 23.76 MB, free: 4.711 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.9829/0.9829, allocations: 150 MB / 463.9 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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage") [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.002/0.002, allocations: 65.75 kB / 0.6425 GB, free: 9.84 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1837, allocations: 89.17 MB / 0.7296 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002876/0.1866, allocations: 1.091 MB / 0.7307 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1886, allocations: 1.162 MB / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1888, allocations: 0 / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.62e-05/0.1889, allocations: 15.75 kB / 0.7318 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.1891, allocations: 43.58 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.1897, allocations: 151.6 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005018/0.1902, allocations: 335.1 kB / 0.7324 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1904, allocations: 36.56 kB / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.1907, allocations: 139.5 kB / 0.7325 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.191, allocations: 151.4 kB / 0.7327 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.1911, allocations: 32 kB / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.822e-05/0.1912, allocations: 32 kB / 0.7327 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.1913, allocations: 79.78 kB / 0.7328 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.1914, allocations: 127.4 kB / 0.7329 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.1919, allocations: 322.7 kB / 0.7332 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1919, allocations: 4 kB / 0.7332 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1919, allocations: 0 / 0.7332 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.1919, allocations: 0 / 0.7332 GB, free: 13.02 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.001432/0.1933, allocations: 0.556 MB / 0.7338 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1934, allocations: 8.031 kB / 0.7338 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.1938, allocations: 68.66 kB / 0.7339 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.1939, allocations: 147 kB / 0.734 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/0.1943, allocations: 495.6 kB / 0.7345 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.62e-05/0.1944, allocations: 28.38 kB / 0.7345 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.195, allocations: 266.3 kB / 0.7347 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.195, allocations: 7.891 kB / 0.7348 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.195, allocations: 11.98 kB / 0.7348 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.195, allocations: 4 kB / 0.7348 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.1955, allocations: 175.9 kB / 0.7349 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.1969, allocations: 0.7416 MB / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005666/0.1975, allocations: 199.7 kB / 0.7358 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.1977, allocations: 122.5 kB / 0.736 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-05/0.1978, allocations: 15.97 kB / 0.736 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006745/0.1985, allocations: 311.8 kB / 0.7363 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 1.914e-06/0.1985, allocations: 3.938 kB / 0.7363 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001108/0.1996, allocations: 484.6 kB / 0.7367 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/0.1997, allocations: 114.8 kB / 0.7369 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.1998, allocations: 183.5 kB / 0.737 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.1999, allocations: 37.7 kB / 0.7371 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.716e-05/0.2, allocations: 117.4 kB / 0.7372 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.2001, allocations: 162.7 kB / 0.7373 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.2003, allocations: 106.3 kB / 0.7374 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2004, allocations: 342.8 kB / 0.7378 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.2008, allocations: 149.2 kB / 0.7379 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.2012, allocations: 252.8 kB / 0.7381 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.2019, allocations: 394 kB / 0.7385 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2019, allocations: 0 / 0.7385 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009435/0.2028, allocations: 0.4894 MB / 0.739 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.2028, allocations: 11.94 kB / 0.739 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2028, allocations: 4 kB / 0.739 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.2029, allocations: 4 kB / 0.739 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.2033, allocations: 95.89 kB / 0.7391 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.2033, allocations: 8 kB / 0.7391 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.2036, allocations: 63.62 kB / 0.7392 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.2036, allocations: 28 kB / 0.7392 GB, free: 6.457 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.0002229/0.2038, allocations: 155.5 kB / 0.7394 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.2039, allocations: 27.8 kB / 0.7394 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.204, allocations: 33.95 kB / 0.7394 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.204, allocations: 4 kB / 0.7394 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.204, allocations: 4 kB / 0.7394 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.204, allocations: 3.984 kB / 0.7394 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.2044, allocations: 328.3 kB / 0.7397 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2044, allocations: 0 / 0.7397 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.2048, allocations: 75.89 kB / 0.7398 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.2048, allocations: 11.88 kB / 0.7398 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.2049, allocations: 15.92 kB / 0.7398 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2049, allocations: 0 / 0.7398 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2049, allocations: 4 kB / 0.7398 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.206, allocations: 0.579 MB / 0.7404 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.2061, allocations: 23.8 kB / 0.7404 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.2061, allocations: 15.94 kB / 0.7404 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.2063, allocations: 31.95 kB / 0.7405 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.2065, allocations: 43.97 kB / 0.7405 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.2065, allocations: 19.98 kB / 0.7405 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002189/0.2067, allocations: 121.4 kB / 0.7406 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2067, allocations: 0 / 0.7406 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003434/0.2071, allocations: 87.89 kB / 0.7407 GB, free: 4.816 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.0002186/0.2073, allocations: 127.8 kB / 0.7409 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007898/0.2081, allocations: 360.2 kB / 0.7412 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2081, allocations: 0 / 0.7412 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.2085, allocations: 177.4 kB / 0.7414 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.2088, allocations: 46.56 kB / 0.7414 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.2102, allocations: 0.6513 MB / 0.742 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.2107, allocations: 0.7687 MB / 0.7428 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.2108, allocations: 35.44 kB / 0.7428 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.2108, allocations: 0 / 0.7428 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of Templates: time 0.007559/0.2184, allocations: 3.984 MB / 0.7467 GB, free: 14.63 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.219078120077029] Failed to read output from testmodel.py, exit status != 0: 0.2271903690416366 0.24430028999999995 0.04897753499999994 Calling exit ...