Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.354/2.354, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 181.5 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.551/2.551, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009381/0.0009371, allocations: 94.08 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004686, allocations: 12.97 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2126, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2209/0.4337, allocations: 132.3 MB / 1.029 GB, free: 13 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.434, allocations: 79.95 kB / 1.029 GB, free: 12.93 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.03441/0.4684, allocations: 7.085 MB / 1.036 GB, free: 5.824 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4685, allocations: 0 / 1.036 GB, free: 5.824 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.4685, allocations: 8 kB / 1.036 GB, free: 5.816 MB / 0.6824 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.001804/0.4703, allocations: 0.6184 MB / 1.036 GB, free: 5.145 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4704, allocations: 8.031 kB / 1.036 GB, free: 5.137 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.4705, allocations: 36.56 kB / 1.036 GB, free: 5.102 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.4708, allocations: 193 kB / 1.037 GB, free: 4.871 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.4711, allocations: 272.2 kB / 1.037 GB, free: 4.547 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.439e-05/0.4712, allocations: 24.38 kB / 1.037 GB, free: 4.523 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008416/0.472, allocations: 270.4 kB / 1.037 GB, free: 4.25 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.4721, allocations: 11.94 kB / 1.037 GB, free: 4.238 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.4721, allocations: 11.98 kB / 1.037 GB, free: 4.227 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.4721, allocations: 4 kB / 1.037 GB, free: 4.223 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.4729, allocations: 175.9 kB / 1.037 GB, free: 4.051 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.4749, allocations: 0.8127 MB / 1.038 GB, free: 3.18 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/0.4757, allocations: 219.7 kB / 1.038 GB, free: 2.938 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.4762, allocations: 134.5 kB / 1.038 GB, free: 2.797 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 6.257e-05/0.4763, allocations: 8 kB / 1.038 GB, free: 2.789 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008628/0.4771, allocations: 319.6 kB / 1.039 GB, free: 2.453 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=48): time 3.536e-06/0.4772, allocations: 0 / 1.039 GB, free: 2.453 MB / 0.6824 GB Notification: Performance of matching and sorting (n=48): time 0.001828/0.479, allocations: 499.7 kB / 1.039 GB, free: 1.961 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/0.4791, allocations: 114.8 kB / 1.039 GB, free: 1.824 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.4794, allocations: 179.5 kB / 1.039 GB, free: 1.637 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/0.4794, allocations: 37.7 kB / 1.04 GB, free: 1.594 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.4796, allocations: 125.1 kB / 1.04 GB, free: 1.465 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.4798, allocations: 150 kB / 1.04 GB, free: 1.316 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.4798, allocations: 8 kB / 1.04 GB, free: 1.309 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.48, allocations: 346.8 kB / 1.04 GB, free: 0.9609 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.4806, allocations: 153.2 kB / 1.04 GB, free: 0.8125 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.4812, allocations: 256.8 kB / 1.041 GB, free: 0.5234 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.4818, allocations: 163.9 kB / 1.041 GB, free: 372 kB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.4819, allocations: 4 kB / 1.041 GB, free: 368 kB / 0.6824 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001606/0.4835, allocations: 0.493 MB / 1.041 GB, free: 15.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.4835, allocations: 11.88 kB / 1.041 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.4836, allocations: 4 kB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.4836, allocations: 4 kB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/0.4844, allocations: 103.8 kB / 1.041 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.4844, allocations: 8 kB / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/0.4849, allocations: 63.66 kB / 1.041 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.485, allocations: 20 kB / 1.041 GB, free: 15.65 MB / 0.698 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.0002846/0.4853, allocations: 163.9 kB / 1.042 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/0.4854, allocations: 31.64 kB / 1.042 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.368e-05/0.4855, allocations: 33.88 kB / 1.042 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.4855, allocations: 4 kB / 1.042 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.4855, allocations: 0 / 1.042 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4855, allocations: 3.984 kB / 1.042 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.4861, allocations: 357.1 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.4861, allocations: 4.094 kB / 1.042 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000856/0.487, allocations: 67.91 kB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.487, allocations: 19.86 kB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/0.4871, allocations: 15.98 kB / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.4871, allocations: 4 kB / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4871, allocations: 0 / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.4891, allocations: 0.598 MB / 1.043 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4892, allocations: 104.7 kB / 1.043 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.4893, allocations: 15.92 kB / 1.043 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/0.4898, allocations: 47.97 kB / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.49, allocations: 43.97 kB / 1.043 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/0.49, allocations: 16.06 kB / 1.043 GB, free: 14.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001439/0.4902, allocations: 125.2 kB / 1.043 GB, free: 13.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-07/0.4902, allocations: 4 kB / 1.043 GB, free: 13.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005328/0.4907, allocations: 80 kB / 1.043 GB, free: 13.84 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002284/0.491, allocations: 115.2 kB / 1.043 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.4923, allocations: 396.6 kB / 1.044 GB, free: 13.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4923, allocations: 3.938 kB / 1.044 GB, free: 13.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006411/0.493, allocations: 179.8 kB / 1.044 GB, free: 13.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.4935, allocations: 55.97 kB / 1.044 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.4954, allocations: 0.7024 MB / 1.044 GB, free: 12.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.4958, allocations: 0.7686 MB / 1.045 GB, free: 11.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003148/0.4961, allocations: 30.97 kB / 1.045 GB, free: 11.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.4963, allocations: 39.42 kB / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/0.4963, allocations: 0 / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of Templates: time 0.01067/0.507, allocations: 3.03 MB / 1.048 GB, free: 8.488 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)