Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.604/1.604, allocations: 288.4 MB / 304.3 MB, free: 8.195 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.001595/0.001595, allocations: 180.5 kB / 372.9 MB, free: 10.16 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.504/1.504, allocations: 205.4 MB / 0.6317 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007099/0.0007099, allocations: 101 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.000403, allocations: 14.84 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2309, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8175/1.048, allocations: 138.6 MB / 1.116 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/1.049, allocations: 74.75 kB / 1.116 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02134/1.07, allocations: 8.694 MB / 1.125 GB, free: 31.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.775e-06/1.07, allocations: 0 / 1.125 GB, free: 31.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.385e-05/1.07, allocations: 3.844 kB / 1.125 GB, free: 31.57 MB / 0.698 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.001134/1.071, allocations: 0.6181 MB / 1.125 GB, free: 31.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.071, allocations: 7.75 kB / 1.125 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/1.072, allocations: 31.88 kB / 1.125 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/1.072, allocations: 202.1 kB / 1.126 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/1.072, allocations: 264.8 kB / 1.126 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/1.072, allocations: 32.25 kB / 1.126 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/1.072, allocations: 266.5 kB / 1.126 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/1.072, allocations: 7.844 kB / 1.126 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/1.073, allocations: 10.34 kB / 1.126 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.073, allocations: 3.844 kB / 1.126 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/1.073, allocations: 189.3 kB / 1.126 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/1.074, allocations: 0.8044 MB / 1.127 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/1.075, allocations: 208.8 kB / 1.127 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/1.075, allocations: 141.2 kB / 1.127 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/1.075, allocations: 15.3 kB / 1.127 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004806/1.075, allocations: 307.5 kB / 1.128 GB, free: 29.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 3.186e-06/1.075, allocations: 3.984 kB / 1.128 GB, free: 29.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.0009011/1.076, allocations: 0.4984 MB / 1.128 GB, free: 29.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/1.076, allocations: 124.3 kB / 1.128 GB, free: 29.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/1.077, allocations: 170.3 kB / 1.128 GB, free: 29.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/1.077, allocations: 37.17 kB / 1.128 GB, free: 29.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/1.077, allocations: 122.1 kB / 1.129 GB, free: 29.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.487e-05/1.077, allocations: 149.8 kB / 1.129 GB, free: 29.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/1.077, allocations: 7.25 kB / 1.129 GB, free: 29.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.077, allocations: 346.7 kB / 1.129 GB, free: 29.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/1.077, allocations: 148.2 kB / 1.129 GB, free: 29.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/1.078, allocations: 261.4 kB / 1.129 GB, free: 28.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/1.078, allocations: 401.5 kB / 1.13 GB, free: 28.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.078, allocations: 4 kB / 1.13 GB, free: 28.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007162/1.079, allocations: 495.7 kB / 1.13 GB, free: 28.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.079, allocations: 7.781 kB / 1.13 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.079, allocations: 3.812 kB / 1.13 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.079, allocations: 11.69 kB / 1.13 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/1.079, allocations: 99.62 kB / 1.13 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/1.079, allocations: 5.203 kB / 1.13 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/1.08, allocations: 74.66 kB / 1.131 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/1.08, allocations: 22.03 kB / 1.131 GB, free: 28.7 MB / 0.698 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.0001671/1.08, allocations: 158.7 kB / 1.131 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/1.08, allocations: 30.25 kB / 1.131 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/1.08, allocations: 34.41 kB / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.08, allocations: 3.875 kB / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.08, allocations: 0 / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/1.08, allocations: 10 kB / 1.131 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/1.08, allocations: 356.9 kB / 1.131 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.08, allocations: 4 kB / 1.131 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/1.081, allocations: 76.98 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.081, allocations: 11.77 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/1.081, allocations: 13.56 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/1.081, allocations: 3.844 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.081, allocations: 0 / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009475/1.082, allocations: 0.5939 MB / 1.132 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/1.082, allocations: 104.6 kB / 1.132 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/1.082, allocations: 13.75 kB / 1.132 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/1.082, allocations: 48.48 kB / 1.132 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/1.082, allocations: 55.02 kB / 1.132 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/1.082, allocations: 17 kB / 1.132 GB, free: 28.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.039e-05/1.082, allocations: 127.2 kB / 1.132 GB, free: 28.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/1.082, allocations: 0 / 1.132 GB, free: 28.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003227/1.083, allocations: 89.39 kB / 1.132 GB, free: 28.01 MB / 0.698 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.0002068/1.083, allocations: 119.2 kB / 1.132 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006859/1.084, allocations: 395.8 kB / 1.133 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.084, allocations: 0 / 1.133 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/1.084, allocations: 206.2 kB / 1.133 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/1.084, allocations: 44.34 kB / 1.133 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/1.085, allocations: 0.7137 MB / 1.134 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/1.086, allocations: 0.7666 MB / 1.134 GB, free: 26.78 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001792/1.086, allocations: 39.61 kB / 1.134 GB, free: 26.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.003e-05/1.086, allocations: 26.81 kB / 1.134 GB, free: 26.76 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/1.086, allocations: 0 / 1.134 GB, free: 26.76 MB / 0.698 GB Notification: Performance of Templates: time 0.006212/1.092, allocations: 3.3 MB / 1.138 GB, free: 25.29 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)