Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.444/2.444, allocations: 252.6 MB / 265.2 MB, free: 5.711 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001471/0.001471, allocations: 187.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.5754 GB, free: 10.41 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 82.77 kB / 0.6797 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.135e-05/4.147e-05, allocations: 11.94 kB / 0.7912 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2031, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.915/1.118, allocations: 132.2 MB / 1.024 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/1.118, allocations: 75.33 kB / 1.024 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05575/1.174, allocations: 8.748 MB / 1.033 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.833e-06/1.174, allocations: 0 / 1.033 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.688e-05/1.174, allocations: 4 kB / 1.033 GB, free: 10.98 MB / 0.6511 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.001739/1.176, allocations: 0.5963 MB / 1.033 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.176, allocations: 8.031 kB / 1.033 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/1.176, allocations: 31.7 kB / 1.033 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/1.177, allocations: 191.6 kB / 1.033 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/1.177, allocations: 274.6 kB / 1.034 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-05/1.177, allocations: 28.72 kB / 1.034 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/1.178, allocations: 243.2 kB / 1.034 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/1.178, allocations: 11.8 kB / 1.034 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/1.178, allocations: 7.359 kB / 1.034 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/1.178, allocations: 4 kB / 1.034 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004992/1.178, allocations: 144.5 kB / 1.034 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/1.181, allocations: 0.8049 MB / 1.035 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/1.181, allocations: 182.2 kB / 1.035 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/1.182, allocations: 118.6 kB / 1.035 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.967e-05/1.182, allocations: 15.61 kB / 1.035 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007178/1.183, allocations: 291.8 kB / 1.036 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 3.877e-06/1.183, allocations: 0 / 1.036 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.001057/1.184, allocations: 333.5 kB / 1.036 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/1.184, allocations: 118.6 kB / 1.036 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/1.184, allocations: 159.6 kB / 1.036 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.508e-05/1.184, allocations: 44.88 kB / 1.036 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/1.184, allocations: 119.6 kB / 1.036 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/1.184, allocations: 145.9 kB / 1.036 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/1.184, allocations: 11.25 kB / 1.036 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001707/1.185, allocations: 349.2 kB / 1.037 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/1.185, allocations: 129.4 kB / 1.037 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/1.186, allocations: 227.4 kB / 1.037 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/1.186, allocations: 158.7 kB / 1.037 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/1.186, allocations: 0 / 1.037 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001186/1.187, allocations: 448.4 kB / 1.038 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/1.187, allocations: 8 kB / 1.038 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.187, allocations: 0 / 1.038 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/1.187, allocations: 8 kB / 1.038 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/1.188, allocations: 99.12 kB / 1.038 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/1.188, allocations: 8 kB / 1.038 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/1.189, allocations: 70.53 kB / 1.038 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/1.189, allocations: 19.06 kB / 1.038 GB, free: 6.125 MB / 0.6511 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 () * 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.0002292/1.189, allocations: 145 kB / 1.038 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/1.189, allocations: 35.7 kB / 1.038 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/1.189, allocations: 31.28 kB / 1.038 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/1.189, allocations: 4 kB / 1.038 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/1.189, allocations: 3.938 kB / 1.038 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.189, allocations: 7.984 kB / 1.038 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/1.19, allocations: 363.8 kB / 1.038 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.19, allocations: 3.984 kB / 1.038 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008191/1.191, allocations: 71.47 kB / 1.038 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/1.191, allocations: 4 kB / 1.038 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/1.191, allocations: 15.55 kB / 1.039 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/1.191, allocations: 4 kB / 1.039 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.191, allocations: 0 / 1.039 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/1.192, allocations: 0.5582 MB / 1.039 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.192, allocations: 104.7 kB / 1.039 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.899e-05/1.193, allocations: 18.8 kB / 1.039 GB, free: 4.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/1.193, allocations: 42.78 kB / 1.039 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/1.193, allocations: 42.7 kB / 1.039 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/1.193, allocations: 19.38 kB / 1.039 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001461/1.193, allocations: 122.9 kB / 1.039 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.5e-07/1.193, allocations: 3.938 kB / 1.039 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000506/1.194, allocations: 81.92 kB / 1.039 GB, free: 4.645 MB / 0.6511 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 () * 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.0002542/1.194, allocations: 121 kB / 1.04 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001025/1.195, allocations: 361.5 kB / 1.04 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.195, allocations: 4 kB / 1.04 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004837/1.196, allocations: 162.9 kB / 1.04 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/1.196, allocations: 27.67 kB / 1.04 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/1.198, allocations: 0.5075 MB / 1.041 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/1.198, allocations: 0.7686 MB / 1.041 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000334/1.199, allocations: 43.14 kB / 1.041 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/1.199, allocations: 31.42 kB / 1.041 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of SimCode: time 1.442e-06/1.199, allocations: 7.938 kB / 1.041 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of Templates: time 0.01128/1.21, allocations: 3.044 MB / 1.044 GB, free: 15.79 MB / 0.6667 GB