Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001453/0.001453, allocations: 80.92 kB / 20.75 MB, free: 3.734 MB / 18.57 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.001633/0.001633, allocations: 165 kB / 24.17 MB, free: 324 kB / 18.57 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.9873/0.9873, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.002/2.002, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 3.938 kB / 0.7752 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.66e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003727/0.003754, allocations: 1.979 MB / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.005176, allocations: 0.7218 MB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.005302, allocations: 7.938 kB / 0.7779 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.681e-05/0.005359, allocations: 19.73 kB / 0.7779 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.005504, allocations: 45.48 kB / 0.7779 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.006035, allocations: 183.4 kB / 0.7781 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.006418, allocations: 339 kB / 0.7784 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.006553, allocations: 46.8 kB / 0.7785 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.00686, allocations: 203.5 kB / 0.7787 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.007047, allocations: 111.7 kB / 0.7788 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.05e-05/0.007097, allocations: 32 kB / 0.7788 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.21e-05/0.007169, allocations: 32 kB / 0.7788 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.007236, allocations: 83.7 kB / 0.7789 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.232e-05/0.007329, allocations: 99.5 kB / 0.779 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.007615, allocations: 239.2 kB / 0.7792 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.007618, allocations: 0 / 0.7792 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.62e-07/0.007619, allocations: 0 / 0.7792 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.007624, allocations: 0 / 0.7792 GB, free: 1.242 MB / 0.7292 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.0008971/0.008521, allocations: 0.5494 MB / 0.7798 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.008561, allocations: 13.34 kB / 0.7798 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.008817, allocations: 70.11 kB / 0.7799 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.009074, allocations: 170.2 kB / 0.78 GB, free: 412 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.009358, allocations: 0.4891 MB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.009413, allocations: 32.31 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.009731, allocations: 207.8 kB / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.009749, allocations: 5.188 kB / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.009774, allocations: 12.11 kB / 0.7807 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.009787, allocations: 8 kB / 0.7808 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.009952, allocations: 71.34 kB / 0.7808 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007485/0.0107, allocations: 0.4983 MB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.01098, allocations: 131.6 kB / 0.7814 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.924e-05/0.01108, allocations: 63.45 kB / 0.7815 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.01112, allocations: 15.94 kB / 0.7815 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/0.01141, allocations: 233.3 kB / 0.7817 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.876e-06/0.01141, allocations: 0 / 0.7817 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0004523/0.01187, allocations: 261.7 kB / 0.782 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.01193, allocations: 112.4 kB / 0.7821 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.01208, allocations: 195.3 kB / 0.7823 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.01211, allocations: 37.7 kB / 0.7823 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.01216, allocations: 110.2 kB / 0.7824 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.01229, allocations: 166.6 kB / 0.7826 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.01242, allocations: 107.7 kB / 0.7827 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.01253, allocations: 350.7 kB / 0.783 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.01264, allocations: 53.3 kB / 0.7831 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.01282, allocations: 168.7 kB / 0.7832 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.01313, allocations: 266.6 kB / 0.7835 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.01313, allocations: 0 / 0.7835 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004166/0.01355, allocations: 286.2 kB / 0.7838 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.01357, allocations: 9.562 kB / 0.7838 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.01358, allocations: 5.719 kB / 0.7838 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.0136, allocations: 4 kB / 0.7838 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.0139, allocations: 91.83 kB / 0.7839 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.01391, allocations: 8 kB / 0.7839 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.0141, allocations: 60.75 kB / 0.7839 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.01413, allocations: 16.56 kB / 0.7839 GB, free: 12.06 MB / 0.7448 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.0001315/0.01426, allocations: 148.9 kB / 0.7841 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.01431, allocations: 32.47 kB / 0.7841 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.01437, allocations: 33.97 kB / 0.7841 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.01437, allocations: 4.875 kB / 0.7842 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01438, allocations: 4 kB / 0.7842 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.01439, allocations: 8.797 kB / 0.7842 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.01462, allocations: 165.7 kB / 0.7843 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01462, allocations: 0.5625 kB / 0.7843 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/0.01492, allocations: 75.84 kB / 0.7844 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01493, allocations: 1.688 kB / 0.7844 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.01495, allocations: 11.98 kB / 0.7844 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.01496, allocations: 4 kB / 0.7844 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01496, allocations: 0 / 0.7844 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.01546, allocations: 341 kB / 0.7847 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.01549, allocations: 31.73 kB / 0.7848 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.01554, allocations: 12.81 kB / 0.7848 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.01569, allocations: 29.03 kB / 0.7848 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.01581, allocations: 67.91 kB / 0.7849 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.01583, allocations: 16.05 kB / 0.7849 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.089e-05/0.01589, allocations: 42.53 kB / 0.7849 GB, free: 11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01589, allocations: 0.9375 kB / 0.7849 GB, free: 11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000316/0.0162, allocations: 83.94 kB / 0.785 GB, free: 10.92 MB / 0.7448 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.0001591/0.01636, allocations: 104.7 kB / 0.7851 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003717/0.01673, allocations: 240.4 kB / 0.7853 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.01674, allocations: 4 kB / 0.7853 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.01692, allocations: 118.8 kB / 0.7855 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.01716, allocations: 47.59 kB / 0.7855 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.01824, allocations: 0.5575 MB / 0.786 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.372e-05/0.01832, allocations: 105.4 kB / 0.7861 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.01846, allocations: 41.62 kB / 0.7862 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.01866, allocations: 111.4 kB / 0.7863 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.01866, allocations: 0.9375 kB / 0.7863 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of Templates: time 0.008229/0.02689, allocations: 3.954 MB / 0.7902 GB, free: 5.781 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.252966897096485]