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/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 252 MB / 268 MB, free: 10.88 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.001025/0.001025, allocations: 181 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.001032/0.001032, allocations: 84.08 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.000366, allocations: 12.84 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.249, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002119/0.2512, allocations: 1.743 MB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000901/0.2521, allocations: 0.6823 MB / 0.9038 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.2522, allocations: 0 / 0.9038 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.2522, allocations: 11.86 kB / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.2523, allocations: 43.64 kB / 0.9039 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.2527, allocations: 139.7 kB / 0.904 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.2529, allocations: 299.2 kB / 0.9043 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.2531, allocations: 52.36 kB / 0.9044 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.2532, allocations: 107.6 kB / 0.9045 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.2534, allocations: 139.4 kB / 0.9046 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.2534, allocations: 12 kB / 0.9046 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.363e-05/0.2535, allocations: 16 kB / 0.9046 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.2535, allocations: 63.78 kB / 0.9047 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.712e-05/0.2536, allocations: 141.1 kB / 0.9048 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.2538, allocations: 207.7 kB / 0.905 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2538, allocations: 4 kB / 0.905 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2538, allocations: 3.938 kB / 0.905 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2538, allocations: 0 / 0.905 GB, free: 59.79 MB / 0.6042 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.001038/0.2549, allocations: 0.6081 MB / 0.9056 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2549, allocations: 8.031 kB / 0.9056 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/0.255, allocations: 36.56 kB / 0.9057 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.2551, allocations: 192.8 kB / 0.9058 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.2553, allocations: 268.3 kB / 0.9061 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.2553, allocations: 28.31 kB / 0.9061 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.2558, allocations: 273.9 kB / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.2558, allocations: 0 / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.2558, allocations: 7.984 kB / 0.9064 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2558, allocations: 8 kB / 0.9064 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.2562, allocations: 187.8 kB / 0.9066 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008997/0.2571, allocations: 0.7853 MB / 0.9074 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.2576, allocations: 211.7 kB / 0.9076 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.2578, allocations: 142.5 kB / 0.9077 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.2579, allocations: 4 kB / 0.9077 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.2583, allocations: 319.6 kB / 0.908 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 1.733e-06/0.2583, allocations: 0 / 0.908 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.000879/0.2592, allocations: 0.4971 MB / 0.9085 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.2593, allocations: 122.7 kB / 0.9086 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2594, allocations: 179.4 kB / 0.9088 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.2595, allocations: 41.64 kB / 0.9088 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.2595, allocations: 117.3 kB / 0.9089 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.285e-05/0.2596, allocations: 146 kB / 0.9091 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.2597, allocations: 19.94 kB / 0.9091 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.2597, allocations: 346.8 kB / 0.9094 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.26, allocations: 153.2 kB / 0.9096 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.2603, allocations: 256.8 kB / 0.9098 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.2608, allocations: 406 kB / 0.9102 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.2608, allocations: 4 kB / 0.9102 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006923/0.2615, allocations: 0.4895 MB / 0.9107 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2616, allocations: 7.984 kB / 0.9107 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.2616, allocations: 4 kB / 0.9107 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2616, allocations: 8 kB / 0.9107 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.262, allocations: 103.9 kB / 0.9108 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.262, allocations: 4 kB / 0.9108 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.2622, allocations: 67.66 kB / 0.9109 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.2623, allocations: 23.94 kB / 0.9109 GB, free: 53.38 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.2624, allocations: 167.9 kB / 0.911 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.2625, allocations: 31.66 kB / 0.9111 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.2625, allocations: 29.88 kB / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2625, allocations: 7.984 kB / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2625, allocations: 0 / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2626, allocations: 4 kB / 0.9111 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.2628, allocations: 361.1 kB / 0.9115 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2628, allocations: 0 / 0.9115 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.2632, allocations: 75.83 kB / 0.9115 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2632, allocations: 4 kB / 0.9115 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.2633, allocations: 16 kB / 0.9115 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2633, allocations: 4 kB / 0.9116 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2633, allocations: 3.984 kB / 0.9116 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008873/0.2642, allocations: 0.5979 MB / 0.9121 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.2642, allocations: 108.8 kB / 0.9122 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.2643, allocations: 8 kB / 0.9123 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.2645, allocations: 47.97 kB / 0.9123 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.469e-05/0.2646, allocations: 35.94 kB / 0.9123 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.2646, allocations: 19.98 kB / 0.9124 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.399e-05/0.2647, allocations: 121.2 kB / 0.9125 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2647, allocations: 0 / 0.9125 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002669/0.265, allocations: 84 kB / 0.9125 GB, free: 51.57 MB / 0.6042 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.000158/0.2652, allocations: 126.2 kB / 0.9127 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000608/0.2658, allocations: 398.7 kB / 0.913 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2658, allocations: 0 / 0.913 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.2661, allocations: 187.7 kB / 0.9132 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2664, allocations: 54.47 kB / 0.9133 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000926/0.2674, allocations: 0.7515 MB / 0.914 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.2676, allocations: 0.7646 MB / 0.9148 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.2677, allocations: 31.44 kB / 0.9148 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2677, allocations: 4 kB / 0.9148 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.004693/0.2724, allocations: 3.942 MB / 0.9186 GB, free: 45.29 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (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)