Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.698/1.698, allocations: 288.4 MB / 304.3 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 180.5 kB / 372.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 0.6316 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008901/0.0008901, allocations: 92.25 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004365, allocations: 23.06 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2623, allocations: 115.3 MB / 0.9808 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002418/0.2648, allocations: 1.614 MB / 0.9823 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.266, allocations: 0.6594 MB / 0.983 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.2661, allocations: 0 / 0.983 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.2661, allocations: 11.86 kB / 0.983 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.2662, allocations: 39.7 kB / 0.983 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.2667, allocations: 111.8 kB / 0.9831 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.2669, allocations: 291.2 kB / 0.9834 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.2671, allocations: 44.39 kB / 0.9835 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.2673, allocations: 107.7 kB / 0.9836 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.2675, allocations: 135.4 kB / 0.9837 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.2675, allocations: 16 kB / 0.9837 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.177e-05/0.2675, allocations: 12 kB / 0.9837 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.2676, allocations: 59.8 kB / 0.9838 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.2677, allocations: 141.1 kB / 0.9839 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.2679, allocations: 211.7 kB / 0.9841 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2679, allocations: 0 / 0.9841 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.756e-06/0.2679, allocations: 4 kB / 0.9841 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.2679, allocations: 0 / 0.9841 GB, free: 23.85 MB / 0.6198 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.00104/0.269, allocations: 0.6079 MB / 0.9847 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.269, allocations: 8.031 kB / 0.9847 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.2691, allocations: 32.66 kB / 0.9847 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2692, allocations: 204.7 kB / 0.9849 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.2694, allocations: 268.2 kB / 0.9852 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.2695, allocations: 24.38 kB / 0.9852 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.27, allocations: 269.9 kB / 0.9855 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.27, allocations: 7.906 kB / 0.9855 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.27, allocations: 8 kB / 0.9855 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.27, allocations: 7.984 kB / 0.9855 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.2704, allocations: 195.7 kB / 0.9857 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009737/0.2714, allocations: 0.7815 MB / 0.9865 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.2718, allocations: 211.7 kB / 0.9867 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.272, allocations: 130.5 kB / 0.9868 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.2721, allocations: 23.91 kB / 0.9868 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004855/0.2726, allocations: 311.8 kB / 0.9871 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.735e-06/0.2726, allocations: 8 kB / 0.9871 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.000933/0.2735, allocations: 0.4949 MB / 0.9876 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.2736, allocations: 114.8 kB / 0.9877 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.2738, allocations: 179.5 kB / 0.9879 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.2738, allocations: 37.7 kB / 0.9879 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.2739, allocations: 113.2 kB / 0.988 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.971e-05/0.274, allocations: 150 kB / 0.9882 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.274, allocations: 12 kB / 0.9882 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2741, allocations: 342.8 kB / 0.9885 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.2744, allocations: 153.2 kB / 0.9886 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.2747, allocations: 252.8 kB / 0.9889 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/0.2753, allocations: 394 kB / 0.9893 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.2753, allocations: 4 kB / 0.9893 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006992/0.276, allocations: 0.4891 MB / 0.9897 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.276, allocations: 7.938 kB / 0.9897 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.276, allocations: 4 kB / 0.9898 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2761, allocations: 4.062 kB / 0.9898 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.2764, allocations: 103.8 kB / 0.9899 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2765, allocations: 8.703 kB / 0.9899 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.2767, allocations: 71.59 kB / 0.9899 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.2767, allocations: 27.94 kB / 0.99 GB, free: 17.45 MB / 0.6198 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 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.2769, allocations: 160 kB / 0.9901 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.2769, allocations: 27.66 kB / 0.9901 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.356e-05/0.277, allocations: 37.88 kB / 0.9902 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.277, allocations: 3.984 kB / 0.9902 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.277, allocations: 0 / 0.9902 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.2771, allocations: 104.8 kB / 0.9903 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.2771, allocations: 11.98 kB / 0.9903 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.2773, allocations: 43.97 kB / 0.9903 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.2775, allocations: 59.86 kB / 0.9904 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009827/0.2785, allocations: 0.6864 MB / 0.9911 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001073/0.2795, allocations: 0.8972 MB / 0.9919 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003168/0.2799, allocations: 181 kB / 0.9921 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.437e-05/0.28, allocations: 129.1 kB / 0.9922 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of Backend: time 8.02e-07/0.28, allocations: 0 / 0.9922 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009608/0.2809, allocations: 366.5 kB / 0.9926 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009558/0.2819, allocations: 1.084 MB / 0.9936 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.007728/0.2896, allocations: 4.19 MB / 0.9977 GB, free: 9.422 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)