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.0007602/0.0007602, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008267/0.0008268, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.537/1.537, allocations: 252 MB / 0.5102 GB, free: 4.871 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.000581/0.0005811, allocations: 16 kB / 0.6243 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5666/0.5672, allocations: 106.3 MB / 0.7282 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002219/0.5695, allocations: 1.678 MB / 0.7298 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.5705, allocations: 0.6748 MB / 0.7305 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.971e-05/0.5706, allocations: 0 / 0.7305 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.488e-05/0.5706, allocations: 15.86 kB / 0.7305 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.5708, allocations: 31.7 kB / 0.7305 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.5711, allocations: 123.7 kB / 0.7306 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.5714, allocations: 283.2 kB / 0.7309 GB, free: 8.648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.5716, allocations: 52.36 kB / 0.7309 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.5718, allocations: 103.7 kB / 0.731 GB, free: 8.496 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.5719, allocations: 139.4 kB / 0.7312 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.572, allocations: 16 kB / 0.7312 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.263e-05/0.572, allocations: 12 kB / 0.7312 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.5721, allocations: 63.8 kB / 0.7313 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.891e-05/0.5722, allocations: 65.58 kB / 0.7313 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.5724, allocations: 205.4 kB / 0.7315 GB, free: 8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5724, allocations: 0 / 0.7315 GB, free: 8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5724, allocations: 0 / 0.7315 GB, free: 8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.5724, allocations: 0 / 0.7315 GB, free: 8 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.001098/0.5735, allocations: 0.6119 MB / 0.7321 GB, free: 7.344 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.5736, allocations: 12.03 kB / 0.7321 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.224e-05/0.5736, allocations: 31.62 kB / 0.7322 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.5738, allocations: 203.5 kB / 0.7323 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.574, allocations: 263.8 kB / 0.7326 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.5741, allocations: 28 kB / 0.7326 GB, free: 6.723 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.5746, allocations: 261.7 kB / 0.7329 GB, free: 6.453 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.5746, allocations: 4 kB / 0.7329 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.5746, allocations: 8 kB / 0.7329 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.5747, allocations: 8 kB / 0.7329 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.5751, allocations: 187.8 kB / 0.7331 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.5761, allocations: 0.7856 MB / 0.7338 GB, free: 5.406 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.5766, allocations: 204.3 kB / 0.734 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.5769, allocations: 146.8 kB / 0.7342 GB, free: 5.027 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.5769, allocations: 12.17 kB / 0.7342 GB, free: 5.016 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005286/0.5775, allocations: 307.5 kB / 0.7345 GB, free: 4.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 3.797e-06/0.5775, allocations: 3.984 kB / 0.7345 GB, free: 4.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001018/0.5785, allocations: 0.4903 MB / 0.735 GB, free: 4.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.5786, allocations: 118.8 kB / 0.7351 GB, free: 4.051 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.5788, allocations: 175.4 kB / 0.7352 GB, free: 3.863 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.5788, allocations: 45.69 kB / 0.7353 GB, free: 3.812 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.5789, allocations: 117.3 kB / 0.7354 GB, free: 3.695 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.579, allocations: 154 kB / 0.7355 GB, free: 3.543 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.579, allocations: 8 kB / 0.7356 GB, free: 3.535 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5792, allocations: 346.8 kB / 0.7359 GB, free: 3.188 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.5795, allocations: 153.2 kB / 0.736 GB, free: 3.035 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.5799, allocations: 256.7 kB / 0.7363 GB, free: 2.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.5802, allocations: 175.9 kB / 0.7364 GB, free: 2.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5802, allocations: 0 / 0.7364 GB, free: 2.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007918/0.581, allocations: 0.4896 MB / 0.7369 GB, free: 2.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.581, allocations: 9.719 kB / 0.7369 GB, free: 2.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.581, allocations: 4 kB / 0.7369 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5811, allocations: 4 kB / 0.7369 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.5814, allocations: 95.83 kB / 0.737 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.5815, allocations: 12.09 kB / 0.737 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.5817, allocations: 75.64 kB / 0.7371 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.5818, allocations: 23.98 kB / 0.7371 GB, free: 1.863 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 ($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.0001598/0.5819, allocations: 156 kB / 0.7373 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.582, allocations: 31.58 kB / 0.7373 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/0.5821, allocations: 33.86 kB / 0.7373 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.5821, allocations: 12 kB / 0.7374 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.5821, allocations: 0 / 0.7374 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5821, allocations: 3.984 kB / 0.7374 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.5825, allocations: 353.2 kB / 0.7377 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5825, allocations: 0 / 0.7377 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.5829, allocations: 83.95 kB / 0.7378 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.5829, allocations: 4 kB / 0.7378 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.5829, allocations: 19.94 kB / 0.7378 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.5829, allocations: 4 kB / 0.7378 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5829, allocations: 4 kB / 0.7378 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/0.5839, allocations: 0.5957 MB / 0.7384 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.584, allocations: 100.9 kB / 0.7385 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.584, allocations: 15.98 kB / 0.7385 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.5843, allocations: 51.91 kB / 0.7385 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5844, allocations: 35.95 kB / 0.7386 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.5844, allocations: 19.98 kB / 0.7386 GB, free: 264 kB / 0.545 GB Notification: Performance of sorting global known variables: time 8.232e-05/0.5845, allocations: 121.2 kB / 0.7387 GB, free: 144 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5845, allocations: 0 / 0.7387 GB, free: 144 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003013/0.5848, allocations: 76 kB / 0.7388 GB, free: 68 kB / 0.545 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.000209/0.5851, allocations: 131.2 kB / 0.7389 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006917/0.5858, allocations: 378.7 kB / 0.7393 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5858, allocations: 4 kB / 0.7393 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.5861, allocations: 200.5 kB / 0.7395 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.5864, allocations: 42.36 kB / 0.7395 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.5875, allocations: 0.7011 MB / 0.7402 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.5878, allocations: 0.7647 MB / 0.7409 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.588, allocations: 38.95 kB / 0.741 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.5881, allocations: 35.44 kB / 0.741 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.5881, allocations: 0 / 0.741 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.00637/0.5945, allocations: 3.048 MB / 0.744 GB, free: 10.72 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: