Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 292.3 MB / 308.1 MB, free: 4.289 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.001679/0.001679, allocations: 190.4 kB / 376.9 MB, free: 1.793 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.771/1.771, allocations: 205.1 MB / 0.6354 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 96.2 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001948, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3673, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.00454/0.372, allocations: 2.006 MB / 0.9842 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.3734, allocations: 0.6865 MB / 0.9849 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.3737, allocations: 3.938 kB / 0.9849 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.123e-05/0.3738, allocations: 7.875 kB / 0.9849 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.374, allocations: 31.7 kB / 0.9849 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.3746, allocations: 143.7 kB / 0.9851 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.375, allocations: 303.2 kB / 0.9853 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.3752, allocations: 56.3 kB / 0.9854 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.3754, allocations: 119.5 kB / 0.9855 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.3756, allocations: 139.5 kB / 0.9856 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.3756, allocations: 19.94 kB / 0.9857 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-05/0.3757, allocations: 20 kB / 0.9857 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.3758, allocations: 67.8 kB / 0.9857 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.376, allocations: 127.3 kB / 0.9859 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.3763, allocations: 283.3 kB / 0.9861 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3763, allocations: 0 / 0.9861 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.71e-07/0.3763, allocations: 0 / 0.9861 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3764, allocations: 0 / 0.9861 GB, free: 6.328 MB / 0.7136 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.001262/0.3776, allocations: 0.6276 MB / 0.9867 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3777, allocations: 8.031 kB / 0.9868 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.241e-05/0.3778, allocations: 32.64 kB / 0.9868 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.3779, allocations: 200.7 kB / 0.987 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.3782, allocations: 268.3 kB / 0.9872 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.3783, allocations: 36.27 kB / 0.9873 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.3787, allocations: 257.8 kB / 0.9875 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.3788, allocations: 11.92 kB / 0.9875 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.3788, allocations: 8 kB / 0.9875 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.3788, allocations: 4 kB / 0.9875 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/0.3792, allocations: 179.8 kB / 0.9877 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.3803, allocations: 0.7737 MB / 0.9885 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.3808, allocations: 199.7 kB / 0.9887 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.3811, allocations: 134.5 kB / 0.9888 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/0.3811, allocations: 11.98 kB / 0.9888 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005991/0.3817, allocations: 319.5 kB / 0.9891 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.604e-06/0.3818, allocations: 4 kB / 0.9891 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0009974/0.3828, allocations: 481.4 kB / 0.9896 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.3829, allocations: 122.7 kB / 0.9897 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.383, allocations: 179.5 kB / 0.9899 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.3831, allocations: 37.7 kB / 0.9899 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.3832, allocations: 117.2 kB / 0.99 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.3833, allocations: 150 kB / 0.9901 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.3835, allocations: 102.3 kB / 0.9902 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3836, allocations: 346.8 kB / 0.9906 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.384, allocations: 145.2 kB / 0.9907 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.3844, allocations: 256.8 kB / 0.991 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/0.385, allocations: 390 kB / 0.9913 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.385, allocations: 0 / 0.9913 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008263/0.3858, allocations: 492.8 kB / 0.9918 GB, free: 116 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3859, allocations: 7.984 kB / 0.9918 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3859, allocations: 4 kB / 0.9918 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.3859, allocations: 8 kB / 0.9918 GB, free: 96 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.3863, allocations: 95.83 kB / 0.9919 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.063e-05/0.3863, allocations: 4.047 kB / 0.9919 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.3866, allocations: 59.55 kB / 0.992 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.3866, allocations: 24 kB / 0.992 GB, free: 15.91 MB / 0.7292 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 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.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.0001676/0.3868, allocations: 156 kB / 0.9921 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.3868, allocations: 27.66 kB / 0.9922 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.366e-05/0.3869, allocations: 33.86 kB / 0.9922 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3869, allocations: 12 kB / 0.9922 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.387, allocations: 0 / 0.9922 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.387, allocations: 3.938 kB / 0.9922 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.3873, allocations: 361.1 kB / 0.9926 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3874, allocations: 0 / 0.9926 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.3877, allocations: 83.77 kB / 0.9926 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3878, allocations: 4.094 kB / 0.9926 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.3878, allocations: 11.98 kB / 0.9927 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.3878, allocations: 8.688 kB / 0.9927 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3878, allocations: 64 / 0.9927 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/0.3906, allocations: 2.008 MB / 0.9946 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.3907, allocations: 104.8 kB / 0.9947 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.3908, allocations: 11.98 kB / 0.9947 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.391, allocations: 27.97 kB / 0.9948 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.3912, allocations: 56.02 kB / 0.9948 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.3912, allocations: 15.94 kB / 0.9948 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.821e-05/0.3913, allocations: 133.1 kB / 0.995 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3913, allocations: 0 / 0.995 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004265/0.3917, allocations: 99.84 kB / 0.995 GB, free: 12.56 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.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.0002511/0.392, allocations: 120.7 kB / 0.9952 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007651/0.3928, allocations: 392.2 kB / 0.9955 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3928, allocations: 0 / 0.9955 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.3932, allocations: 203.7 kB / 0.9957 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.3936, allocations: 39.98 kB / 0.9958 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.3951, allocations: 0.9666 MB / 0.9967 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.3955, allocations: 0.7764 MB / 0.9975 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001873/0.3957, allocations: 47.08 kB / 0.9975 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.3958, allocations: 35.7 kB / 0.9976 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.3958, allocations: 0 / 0.9976 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of Templates: time 0.008538/0.4043, allocations: 3.726 MB / 1.001 GB, free: 6.223 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)