Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 289.9 MB / 297.4 MB, free: 6.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 188.8 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.3 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009415/0.0009414, allocations: 86.56 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.967e-05, allocations: 8 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7432/0.7432, allocations: 116.3 MB / 0.9733 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.9444, allocations: 138.8 MB / 1.109 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.9447, allocations: 71.95 kB / 1.109 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02238/0.9671, allocations: 8.565 MB / 1.117 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9671, allocations: 0 / 1.117 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.894e-05/0.9672, allocations: 4 kB / 1.117 GB, free: 2.773 MB / 0.7136 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.00127/0.9684, allocations: 0.5983 MB / 1.118 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.9685, allocations: 8.031 kB / 1.118 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.9686, allocations: 31.7 kB / 1.118 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.9689, allocations: 192.5 kB / 1.118 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/0.9691, allocations: 259.8 kB / 1.118 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/0.9692, allocations: 16 kB / 1.118 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000309/0.9695, allocations: 136.8 kB / 1.118 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.9699, allocations: 216.1 kB / 1.119 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.9699, allocations: 15.84 kB / 1.119 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.97, allocations: 3.984 kB / 1.119 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.97, allocations: 4 kB / 1.119 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.9713, allocations: 0.7504 MB / 1.119 GB, free: 364 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.9717, allocations: 175.3 kB / 1.12 GB, free: 164 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.9719, allocations: 111 kB / 1.12 GB, free: 44 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.559e-05/0.972, allocations: 12.55 kB / 1.12 GB, free: 32 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/0.9725, allocations: 277.1 kB / 1.12 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 2.053e-06/0.9725, allocations: 0 / 1.12 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.000639/0.9731, allocations: 310.8 kB / 1.12 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.9732, allocations: 114.8 kB / 1.12 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.9734, allocations: 154.5 kB / 1.121 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.9734, allocations: 29.7 kB / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.9736, allocations: 118.5 kB / 1.121 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.9737, allocations: 142 kB / 1.121 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.9737, allocations: 3.938 kB / 1.121 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.9739, allocations: 342.8 kB / 1.121 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.9741, allocations: 117.6 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.9744, allocations: 220.5 kB / 1.121 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.9747, allocations: 127.1 kB / 1.122 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.9747, allocations: 4 kB / 1.122 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006681/0.9754, allocations: 406.8 kB / 1.122 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.9754, allocations: 4 kB / 1.122 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.9754, allocations: 4 kB / 1.122 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.9755, allocations: 4 kB / 1.122 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.9758, allocations: 99.83 kB / 1.122 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.9759, allocations: 10.14 kB / 1.122 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.9762, allocations: 59.66 kB / 1.122 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.9762, allocations: 24 kB / 1.122 GB, free: 13.41 MB / 0.7292 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.0001417/0.9764, allocations: 115.1 kB / 1.122 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.9764, allocations: 39.67 kB / 1.122 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.651e-05/0.9765, allocations: 33.94 kB / 1.122 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.9765, allocations: 4 kB / 1.122 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.9766, allocations: 0 / 1.122 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.9766, allocations: 7.984 kB / 1.122 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.977, allocations: 305.8 kB / 1.123 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.977, allocations: 0 / 1.123 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.9774, allocations: 83.83 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.9774, allocations: 0 / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.9775, allocations: 9.828 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.9775, allocations: 15.92 kB / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.9775, allocations: 0 / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008071/0.9783, allocations: 0.5155 MB / 1.123 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.817e-05/0.9784, allocations: 100.8 kB / 1.123 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.9784, allocations: 15.98 kB / 1.123 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.9787, allocations: 31.97 kB / 1.123 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.9788, allocations: 39.94 kB / 1.123 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.9788, allocations: 13.69 kB / 1.123 GB, free: 12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.935e-05/0.9789, allocations: 124.1 kB / 1.124 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9789, allocations: 0 / 1.124 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003515/0.9793, allocations: 67.98 kB / 1.124 GB, free: 11.81 MB / 0.7292 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.0002476/0.9796, allocations: 111.2 kB / 1.124 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005562/0.9801, allocations: 318.8 kB / 1.124 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9801, allocations: 0 / 1.124 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.9804, allocations: 159.8 kB / 1.124 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.9807, allocations: 33.44 kB / 1.124 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009857/0.9817, allocations: 479.6 kB / 1.125 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.9821, allocations: 0.7764 MB / 1.125 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.9823, allocations: 39.27 kB / 1.126 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.9824, allocations: 31.44 kB / 1.126 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.9824, allocations: 0 / 1.126 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of Templates: time 0.006773/0.9892, allocations: 2.833 MB / 1.128 GB, free: 7.07 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)