Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.0008182/0.0008182, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.00199, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0008893/0.0008893, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.002078, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.9453/0.9453, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07554/1.021, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6097/0.6097, allocations: 120.1 MB / 364.2 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05396/0.6637, allocations: 38.16 MB / 402.4 MB, free: 12.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.438e-05, allocations: 6.312 kB / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.001863/0.001877, allocations: 2.007 MB / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007071/0.002584, allocations: 0.7282 MB / 406.5 MB, free: 8.121 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.002646, allocations: 7.938 kB / 406.5 MB, free: 8.113 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.002681, allocations: 19.73 kB / 406.6 MB, free: 8.094 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.002745, allocations: 47.52 kB / 406.6 MB, free: 8.047 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.00299, allocations: 187.5 kB / 406.8 MB, free: 7.863 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.003214, allocations: 327 kB / 407.1 MB, free: 7.543 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.003312, allocations: 46.81 kB / 407.2 MB, free: 7.5 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.003513, allocations: 207.5 kB / 407.4 MB, free: 7.297 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.003638, allocations: 127.6 kB / 407.5 MB, free: 7.172 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.003673, allocations: 28 kB / 407.5 MB, free: 7.145 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-05/0.003741, allocations: 36 kB / 407.5 MB, free: 7.109 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.003781, allocations: 51.86 kB / 407.6 MB, free: 7.059 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.003835, allocations: 75.81 kB / 407.7 MB, free: 6.984 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.004015, allocations: 203.3 kB / 407.9 MB, free: 6.785 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.004024, allocations: 0 / 407.9 MB, free: 6.785 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004024, allocations: 3.938 kB / 407.9 MB, free: 6.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.004034, allocations: 0 / 407.9 MB, free: 6.781 MB / 394.7 MB 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.0006841/0.004718, allocations: 0.5933 MB / 408.5 MB, free: 6.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.625e-05/0.004745, allocations: 8.031 kB / 408.5 MB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.004945, allocations: 150 kB / 408.6 MB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.005122, allocations: 169.4 kB / 408.8 MB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.00529, allocations: 499.7 kB / 409.3 MB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.005328, allocations: 32.33 kB / 409.3 MB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.005532, allocations: 211.8 kB / 409.5 MB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.005544, allocations: 4.125 kB / 409.5 MB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.005559, allocations: 12.12 kB / 409.5 MB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.005566, allocations: 8 kB / 409.5 MB, free: 4.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.83e-05/0.005664, allocations: 63.91 kB / 409.6 MB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.00613, allocations: 0.5078 MB / 410.1 MB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.006305, allocations: 131.6 kB / 410.2 MB, free: 4.168 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.006366, allocations: 66.5 kB / 410.3 MB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.006395, allocations: 12 kB / 410.3 MB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.006591, allocations: 240.1 kB / 410.5 MB, free: 3.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=48): time 1.543e-06/0.006593, allocations: 0 / 410.5 MB, free: 3.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.000285/0.006878, allocations: 249.8 kB / 410.8 MB, free: 3.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.006921, allocations: 119.2 kB / 410.9 MB, free: 3.434 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.007002, allocations: 186.4 kB / 411.1 MB, free: 3.238 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.007025, allocations: 37.7 kB / 411.1 MB, free: 3.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.007068, allocations: 121.2 kB / 411.2 MB, free: 3.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/0.007146, allocations: 158.7 kB / 411.4 MB, free: 2.918 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.007227, allocations: 106.3 kB / 411.5 MB, free: 2.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.007319, allocations: 342.8 kB / 411.8 MB, free: 2.465 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.007384, allocations: 61.22 kB / 411.9 MB, free: 2.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.007488, allocations: 164.8 kB / 412.1 MB, free: 2.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.007678, allocations: 261.9 kB / 412.3 MB, free: 1.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.007681, allocations: 0 / 412.3 MB, free: 1.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002566/0.007937, allocations: 285.3 kB / 412.6 MB, free: 1.629 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.007948, allocations: 15.98 kB / 412.6 MB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.007955, allocations: 8 kB / 412.6 MB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.007969, allocations: 7.938 kB / 412.6 MB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.008175, allocations: 107.8 kB / 412.7 MB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.00818, allocations: 4.703 kB / 412.7 MB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.008293, allocations: 55.69 kB / 412.8 MB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.008309, allocations: 16 kB / 412.8 MB, free: 1.418 MB / 394.7 MB 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 8.46e-05/0.008393, allocations: 155.7 kB / 413 MB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.008427, allocations: 35.91 kB / 413 MB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.008465, allocations: 33.97 kB / 413 MB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.008468, allocations: 4 kB / 413 MB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.00847, allocations: 0 / 413 MB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.008476, allocations: 7.922 kB / 413 MB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.008617, allocations: 173.7 kB / 413.2 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.008619, allocations: 0 / 413.2 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.008823, allocations: 79.89 kB / 413.3 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.008842, allocations: 35.75 kB / 413.3 MB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008844, allocations: 0 / 413.3 MB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.008861, allocations: 8 kB / 413.3 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.008865, allocations: 7.984 kB / 413.3 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008865, allocations: 0 / 413.3 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.00918, allocations: 331 kB / 413.7 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.009204, allocations: 12 kB / 413.7 MB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.009294, allocations: 27.97 kB / 413.7 MB, free: 484 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.009377, allocations: 67.91 kB / 413.8 MB, free: 416 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.009389, allocations: 11.98 kB / 413.8 MB, free: 404 kB / 394.7 MB Notification: Performance of sorting global known variables: time 3.31e-05/0.009422, allocations: 52.66 kB / 413.8 MB, free: 348 kB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009422, allocations: 0 / 413.8 MB, free: 348 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.009589, allocations: 87.88 kB / 413.9 MB, free: 260 kB / 394.7 MB 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 7.778e-05/0.009666, allocations: 100.3 kB / 414 MB, free: 152 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.009935, allocations: 249.6 kB / 414.3 MB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.009942, allocations: 11.94 kB / 414.3 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.01007, allocations: 135.3 kB / 414.4 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.01029, allocations: 312.5 kB / 414.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.01139, allocations: 0.5345 MB / 415.2 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.416e-05/0.01143, allocations: 97.61 kB / 415.3 MB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.914e-05/0.01152, allocations: 42.94 kB / 415.4 MB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.01166, allocations: 111.4 kB / 415.5 MB, free: 14.56 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01166, allocations: 0 / 415.5 MB, free: 14.56 MB / 410.7 MB Notification: Performance of Templates: time 0.005013/0.01668, allocations: 3.987 MB / 419.5 MB, free: 10.57 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.15013197530061]