Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.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.001401/0.001401, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.00115/0.00115, allocations: 165 kB / 24.25 MB, free: 208 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.9994/0.9994, allocations: 177.1 MB / 204.7 MB, free: 5.453 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 1.999/1.999, allocations: 389.6 MB / 0.6355 GB, free: 12.26 MB / 0.6042 GB " [Timeout remaining time 178] 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.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.7753 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.328e-05, allocations: 3.25 kB / 0.7754 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001641/0.001665, allocations: 0.9025 MB / 0.7762 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.003172, allocations: 1.37 MB / 0.7776 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.813e-05/0.00324, allocations: 4.812 kB / 0.7776 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.003358, allocations: 11.86 kB / 0.7776 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.003493, allocations: 33.25 kB / 0.7776 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.004011, allocations: 270.9 kB / 0.7779 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.004273, allocations: 288 kB / 0.7782 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.004374, allocations: 21.94 kB / 0.7782 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.004623, allocations: 179.7 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.004824, allocations: 112.6 kB / 0.7785 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.00486, allocations: 24 kB / 0.7785 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.004949, allocations: 40.72 kB / 0.7785 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.005018, allocations: 43.89 kB / 0.7786 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.005094, allocations: 90.7 kB / 0.7786 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.005332, allocations: 231.3 kB / 0.7789 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005334, allocations: 0 / 0.7789 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005335, allocations: 4 kB / 0.7789 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.005339, allocations: 0 / 0.7789 GB, free: 1.719 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006344/0.005973, allocations: 434.9 kB / 0.7793 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.006008, allocations: 16.09 kB / 0.7793 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.006142, allocations: 40.81 kB / 0.7793 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.006301, allocations: 149.6 kB / 0.7795 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.006323, allocations: 16.36 kB / 0.7795 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.006348, allocations: 16.38 kB / 0.7795 GB, free: 1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.006517, allocations: 151.4 kB / 0.7797 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.006523, allocations: 192 / 0.7797 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.006535, allocations: 6.438 kB / 0.7797 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.006541, allocations: 4.375 kB / 0.7797 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.934e-05/0.00659, allocations: 45.75 kB / 0.7797 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.00689, allocations: 251.2 kB / 0.7799 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.967e-05/0.006989, allocations: 114.4 kB / 0.7801 GB, free: 416 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.007028, allocations: 37.38 kB / 0.7801 GB, free: 376 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.007042, allocations: 5.125 kB / 0.7801 GB, free: 372 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.007198, allocations: 160.4 kB / 0.7802 GB, free: 200 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 1.383e-06/0.0072, allocations: 0 / 0.7802 GB, free: 200 kB / 0.7292 GB Notification: Performance of matching and sorting (n=28): time 0.0002317/0.007432, allocations: 198.5 kB / 0.7804 GB, free: 0 / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.007502, allocations: 55.41 kB / 0.7805 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.007609, allocations: 146.7 kB / 0.7806 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.007647, allocations: 41.69 kB / 0.7807 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.007688, allocations: 100.7 kB / 0.7808 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.007731, allocations: 71.53 kB / 0.7808 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.953e-05/0.007821, allocations: 82.61 kB / 0.7809 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.007901, allocations: 330.8 kB / 0.7812 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.008035, allocations: 139.7 kB / 0.7814 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.008164, allocations: 194.6 kB / 0.7815 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.008349, allocations: 244.5 kB / 0.7818 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.008351, allocations: 4.75 kB / 0.7818 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003126/0.008664, allocations: 391.1 kB / 0.7822 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/0.008706, allocations: 67.39 kB / 0.7822 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.008717, allocations: 5.094 kB / 0.7822 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.008726, allocations: 0 / 0.7822 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.008863, allocations: 55.91 kB / 0.7823 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.008868, allocations: 4.875 kB / 0.7823 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.008996, allocations: 60.42 kB / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.009028, allocations: 12.69 kB / 0.7824 GB, free: 13.87 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,booPul1.y,$PRE.booPul1.y,$whenCondition4,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2,triMovMea2.ySample[3],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[1],triMovMea2.index,triMovMea2.counter,$PRE.triMovMea2.counter,triMovMea2.iSample,$PRE.triMovMea2.iSample,triMovMea2.y,triMovMea1.ySample[1],$PRE.triMovMea1.ySample[1],triMovMea1.index,triMovMea1.counter,$PRE.triMovMea1.counter,triMovMea1.iSample,$PRE.triMovMea1.iSample,triMovMea1.y,triMovMea.ySample[3],$PRE.triMovMea.ySample[3],triMovMea.ySample[2],$PRE.triMovMea.ySample[2],triMovMea.ySample[1],$PRE.triMovMea.ySample[1],triMovMea.index,triMovMea.counter,$PRE.triMovMea.counter,triMovMea.iSample,$PRE.triMovMea.iSample,triMovMea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 2 * 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.0001188/0.009146, allocations: 162.3 kB / 0.7825 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.009173, allocations: 23.92 kB / 0.7825 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.009198, allocations: 18.55 kB / 0.7826 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.0092, allocations: 0 / 0.7826 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.009202, allocations: 1 kB / 0.7826 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.009205, allocations: 0 / 0.7826 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.009463, allocations: 371.1 kB / 0.7829 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.009466, allocations: 4.469 kB / 0.7829 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.009494, allocations: 5.125 kB / 0.7829 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.009498, allocations: 8.078 kB / 0.7829 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.009512, allocations: 7.984 kB / 0.7829 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.009514, allocations: 0.8125 kB / 0.7829 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.009516, allocations: 7.984 kB / 0.7829 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.009695, allocations: 294.9 kB / 0.7832 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.009708, allocations: 15.84 kB / 0.7832 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.00974, allocations: 20.83 kB / 0.7833 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.009794, allocations: 7.984 kB / 0.7833 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.009827, allocations: 15.97 kB / 0.7833 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.009848, allocations: 12.95 kB / 0.7833 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.303e-05/0.009871, allocations: 31.17 kB / 0.7833 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.009871, allocations: 0.9688 kB / 0.7833 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001844/0.01006, allocations: 63.95 kB / 0.7834 GB, free: 12.78 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triMovMea.y,triMovMea.iSample,triMovMea.counter,triMovMea.index,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.y,triMovMea1.iSample,triMovMea1.counter,triMovMea1.index,triMovMea1.ySample[1],triMovMea2.y,triMovMea2.iSample,triMovMea2.counter,triMovMea2.index,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],booPul1.y) * Number of discrete states: 13 (triMovMea2.iSample,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],triMovMea2.counter,triMovMea.iSample,triMovMea.counter,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.iSample,triMovMea1.counter,triMovMea1.ySample[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0001407/0.0102, allocations: 120.2 kB / 0.7835 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.01049, allocations: 362.1 kB / 0.7838 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.0105, allocations: 3.938 kB / 0.7838 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.846e-05/0.01057, allocations: 65.42 kB / 0.7839 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.01077, allocations: 54.62 kB / 0.784 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.01128, allocations: 295.4 kB / 0.7842 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.3e-05/0.01133, allocations: 81.3 kB / 0.7843 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.102e-05/0.01137, allocations: 15.08 kB / 0.7843 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.0115, allocations: 99.33 kB / 0.7844 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/0.0115, allocations: 1.094 kB / 0.7844 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.005616/0.01711, allocations: 4.071 MB / 0.7884 GB, free: 7.738 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.117303857579827]