Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.766/2.766, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 180.8 kB / 360.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.345/2.345, allocations: 205.2 MB / 0.6192 GB, free: 12.07 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001042/0.001041, allocations: 95.33 kB / 0.7322 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.899e-05, allocations: 8 kB / 0.8509 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.016, allocations: 115.2 MB / 0.9635 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2357/1.252, allocations: 137.7 MB / 1.098 GB, free: 2.77 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/1.252, allocations: 75.89 kB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04099/1.293, allocations: 8.565 MB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/1.293, allocations: 4 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.79e-05/1.293, allocations: 8 kB / 1.106 GB, free: 10.2 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.001834/1.295, allocations: 0.5905 MB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/1.295, allocations: 16.02 kB / 1.107 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/1.295, allocations: 27.72 kB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/1.295, allocations: 199.6 kB / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002754/1.296, allocations: 251.8 kB / 1.107 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/1.296, allocations: 16 kB / 1.107 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005044/1.296, allocations: 132.8 kB / 1.108 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/1.297, allocations: 228.9 kB / 1.108 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/1.297, allocations: 7.891 kB / 1.108 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/1.297, allocations: 0 / 1.108 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/1.297, allocations: 8 kB / 1.108 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/1.299, allocations: 0.7512 MB / 1.109 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/1.3, allocations: 176.1 kB / 1.109 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/1.3, allocations: 111.3 kB / 1.109 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/1.3, allocations: 8.188 kB / 1.109 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006505/1.301, allocations: 281.1 kB / 1.109 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 3.046e-06/1.301, allocations: 0 / 1.109 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0009624/1.302, allocations: 305.4 kB / 1.109 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/1.302, allocations: 110.8 kB / 1.109 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/1.302, allocations: 162.5 kB / 1.11 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/1.302, allocations: 33.64 kB / 1.11 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/1.302, allocations: 109.3 kB / 1.11 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/1.302, allocations: 146 kB / 1.11 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/1.302, allocations: 0 / 1.11 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.302, allocations: 342.8 kB / 1.11 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/1.303, allocations: 121.5 kB / 1.11 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/1.303, allocations: 212.5 kB / 1.111 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/1.304, allocations: 143.9 kB / 1.111 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.304, allocations: 0 / 1.111 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001034/1.305, allocations: 395.2 kB / 1.111 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/1.305, allocations: 12.78 kB / 1.111 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.305, allocations: 4 kB / 1.111 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/1.305, allocations: 4 kB / 1.111 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007485/1.306, allocations: 95.83 kB / 1.111 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/1.306, allocations: 11.98 kB / 1.111 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/1.306, allocations: 55.66 kB / 1.111 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/1.306, allocations: 20 kB / 1.111 GB, free: 4.836 MB / 0.7136 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.0001936/1.306, allocations: 134.9 kB / 1.111 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.504e-05/1.307, allocations: 27.62 kB / 1.111 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/1.307, allocations: 29.95 kB / 1.111 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/1.307, allocations: 11.94 kB / 1.111 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/1.307, allocations: 4 kB / 1.111 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.307, allocations: 5.766 kB / 1.111 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/1.307, allocations: 301.8 kB / 1.112 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.307, allocations: 4 kB / 1.112 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008032/1.308, allocations: 77.14 kB / 1.112 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/1.308, allocations: 7.953 kB / 1.112 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/1.308, allocations: 11.94 kB / 1.112 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.337e-06/1.308, allocations: 9.391 kB / 1.112 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.308, allocations: 0 / 1.112 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/1.31, allocations: 0.5155 MB / 1.112 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/1.31, allocations: 104.9 kB / 1.112 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/1.31, allocations: 7.922 kB / 1.112 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/1.31, allocations: 39.97 kB / 1.112 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/1.31, allocations: 39.94 kB / 1.113 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/1.31, allocations: 13.5 kB / 1.113 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001224/1.311, allocations: 116.1 kB / 1.113 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-07/1.311, allocations: 0 / 1.113 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005255/1.311, allocations: 67.98 kB / 1.113 GB, free: 3.238 MB / 0.7136 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.0002319/1.311, allocations: 113.4 kB / 1.113 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009132/1.312, allocations: 320.2 kB / 1.113 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.312, allocations: 0 / 1.113 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004929/1.313, allocations: 163.7 kB / 1.113 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/1.313, allocations: 31.31 kB / 1.113 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/1.315, allocations: 483.5 kB / 1.114 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/1.315, allocations: 0.7764 MB / 1.115 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000308/1.315, allocations: 43.45 kB / 1.115 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/1.316, allocations: 27.44 kB / 1.115 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.316, allocations: 0 / 1.115 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of Templates: time 0.009992/1.326, allocations: 2.829 MB / 1.117 GB, free: 14.49 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)