Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009473/0.009473, allocations: 171 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 222.5 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.646/1.646, allocations: 252 MB / 0.5105 GB, free: 4.707 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005595/0.0005596, allocations: 20.56 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6448/0.6453, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.00237/0.6478, allocations: 1.739 MB / 0.7304 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.6489, allocations: 0.6862 MB / 0.7311 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.649, allocations: 4 kB / 0.7311 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.843e-05/0.6491, allocations: 11.86 kB / 0.7311 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.6492, allocations: 31.72 kB / 0.7312 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.6497, allocations: 135.8 kB / 0.7313 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000311/0.65, allocations: 307.1 kB / 0.7316 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.6502, allocations: 48.38 kB / 0.7316 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.6503, allocations: 107.6 kB / 0.7317 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.6505, allocations: 139.4 kB / 0.7319 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.6506, allocations: 16 kB / 0.7319 GB, free: 8.047 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.483e-05/0.6506, allocations: 15.94 kB / 0.7319 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.6507, allocations: 59.8 kB / 0.732 GB, free: 7.973 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.6508, allocations: 145.1 kB / 0.7321 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.6511, allocations: 284.9 kB / 0.7324 GB, free: 7.547 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.6511, allocations: 0 / 0.7324 GB, free: 7.547 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.007e-06/0.6511, allocations: 7.984 kB / 0.7324 GB, free: 7.539 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.6512, allocations: 0 / 0.7324 GB, free: 7.539 MB / 0.545 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.001177/0.6523, allocations: 0.6042 MB / 0.733 GB, free: 6.891 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.6524, allocations: 12.03 kB / 0.733 GB, free: 6.879 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.6525, allocations: 32.56 kB / 0.733 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.6527, allocations: 196.8 kB / 0.7332 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/0.653, allocations: 264.3 kB / 0.7334 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.6531, allocations: 32.36 kB / 0.7335 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.6536, allocations: 277.8 kB / 0.7337 GB, free: 5.988 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6536, allocations: 0 / 0.7337 GB, free: 5.988 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.6536, allocations: 8 kB / 0.7337 GB, free: 5.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.6537, allocations: 4 kB / 0.7337 GB, free: 5.977 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.6541, allocations: 199.8 kB / 0.7339 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.6553, allocations: 0.7815 MB / 0.7347 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.6558, allocations: 207.7 kB / 0.7349 GB, free: 4.711 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.6561, allocations: 138.5 kB / 0.735 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.893e-05/0.6561, allocations: 16 kB / 0.735 GB, free: 4.551 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005658/0.6567, allocations: 323.5 kB / 0.7354 GB, free: 4.211 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.064e-06/0.6567, allocations: 4 kB / 0.7354 GB, free: 4.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.00103/0.6578, allocations: 0.4904 MB / 0.7358 GB, free: 3.711 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/0.6578, allocations: 118.8 kB / 0.736 GB, free: 3.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.658, allocations: 175.4 kB / 0.7361 GB, free: 3.383 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.6581, allocations: 41.7 kB / 0.7362 GB, free: 3.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.6582, allocations: 117.3 kB / 0.7363 GB, free: 3.219 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.6583, allocations: 153.9 kB / 0.7364 GB, free: 3.066 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.589e-05/0.6584, allocations: 57.69 kB / 0.7365 GB, free: 3.004 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.6586, allocations: 334.8 kB / 0.7368 GB, free: 2.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.6589, allocations: 161.2 kB / 0.7369 GB, free: 2.508 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.6593, allocations: 256.8 kB / 0.7372 GB, free: 2.223 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007474/0.6601, allocations: 410 kB / 0.7376 GB, free: 1.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.6601, allocations: 4 kB / 0.7376 GB, free: 1.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009129/0.661, allocations: 0.4973 MB / 0.7381 GB, free: 1.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.661, allocations: 4 kB / 0.7381 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.661, allocations: 7.938 kB / 0.7381 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.6611, allocations: 8 kB / 0.7381 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.6615, allocations: 99.83 kB / 0.7382 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.6615, allocations: 7.984 kB / 0.7382 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.6618, allocations: 67.66 kB / 0.7383 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.6618, allocations: 20 kB / 0.7383 GB, free: 1.066 MB / 0.545 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.00018/0.662, allocations: 167.8 kB / 0.7384 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.6621, allocations: 35.55 kB / 0.7385 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.29e-05/0.6622, allocations: 33.88 kB / 0.7385 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.6622, allocations: 4 kB / 0.7385 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.6622, allocations: 4 kB / 0.7385 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.6622, allocations: 3.984 kB / 0.7385 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.6626, allocations: 349.2 kB / 0.7388 GB, free: 432 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.6626, allocations: 3.984 kB / 0.7389 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.663, allocations: 71.84 kB / 0.7389 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.663, allocations: 4 kB / 0.7389 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.6631, allocations: 19.98 kB / 0.7389 GB, free: 332 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.6631, allocations: 4 kB / 0.7389 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6631, allocations: 64 / 0.7389 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.6642, allocations: 0.6075 MB / 0.7395 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-05/0.6643, allocations: 108.7 kB / 0.7396 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.6643, allocations: 7.984 kB / 0.7397 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.6646, allocations: 43.97 kB / 0.7397 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.6647, allocations: 55.92 kB / 0.7397 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.6648, allocations: 20.08 kB / 0.7398 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.351e-05/0.6649, allocations: 121.2 kB / 0.7399 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6649, allocations: 0 / 0.7399 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003174/0.6652, allocations: 80 kB / 0.74 GB, free: 15.24 MB / 0.5606 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.0002693/0.6655, allocations: 127.2 kB / 0.7401 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007983/0.6663, allocations: 394.6 kB / 0.7405 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6663, allocations: 0 / 0.7405 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004892/0.6668, allocations: 207.7 kB / 0.7407 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.6672, allocations: 50.67 kB / 0.7407 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.6685, allocations: 0.725 MB / 0.7414 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.6689, allocations: 0.7647 MB / 0.7422 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.6691, allocations: 42.95 kB / 0.7422 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.6692, allocations: 31.44 kB / 0.7422 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.6692, allocations: 0 / 0.7422 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of Templates: time 0.007406/0.6766, allocations: 3.419 MB / 0.7456 GB, free: 9.477 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1) Environment - environmentSimulation: