Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009932/0.0009932, allocations: 82.64 kB / 20.68 MB, free: 3.82 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009471/0.0009471, allocations: 185 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9497/0.9497, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.867/1.867, allocations: 377.9 MB / 0.6239 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.8121 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.278e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002496/0.002528, allocations: 1.072 MB / 0.8131 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.004259, allocations: 1.153 MB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.478e-05/0.004354, allocations: 0 / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.372e-05/0.004398, allocations: 17.09 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.004499, allocations: 45.11 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.005004, allocations: 163.6 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.005335, allocations: 335 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.00549, allocations: 33.2 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000364/0.005854, allocations: 199.6 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.006022, allocations: 120.2 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.739e-05/0.00607, allocations: 29.31 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.91e-05/0.006149, allocations: 32 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.006209, allocations: 79.77 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.675e-05/0.006296, allocations: 104.2 kB / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.00659, allocations: 232.5 kB / 0.8156 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.006596, allocations: 0 / 0.8156 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.913e-06/0.006598, allocations: 4 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.006604, allocations: 0 / 0.8156 GB, free: 13.77 MB / 0.7761 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.0007905/0.007395, allocations: 0.6561 MB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.007438, allocations: 8.031 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/0.007702, allocations: 82.31 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.007821, allocations: 141.2 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.008075, allocations: 499.7 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.008129, allocations: 32.31 kB / 0.817 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.008405, allocations: 219.1 kB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.008422, allocations: 8.125 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.008438, allocations: 8.375 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.008448, allocations: 8.125 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.008565, allocations: 75.86 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008081/0.009373, allocations: 0.7446 MB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.009627, allocations: 163.1 kB / 0.8181 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.404e-05/0.009701, allocations: 75.03 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.009738, allocations: 12 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.01002, allocations: 263.9 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 2.935e-06/0.01002, allocations: 3.984 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.0004327/0.01045, allocations: 348.5 kB / 0.8188 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.01051, allocations: 115.7 kB / 0.8189 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.01064, allocations: 229 kB / 0.8191 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.01066, allocations: 37.7 kB / 0.8192 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.01075, allocations: 168.5 kB / 0.8193 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.01085, allocations: 155.6 kB / 0.8195 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.01096, allocations: 115.9 kB / 0.8196 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.0111, allocations: 0.5164 MB / 0.8201 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.462e-05/0.01118, allocations: 65.25 kB / 0.8202 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.01133, allocations: 210.6 kB / 0.8204 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.01157, allocations: 293.2 kB / 0.8206 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01157, allocations: 0 / 0.8206 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003649/0.01194, allocations: 369.6 kB / 0.821 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.01195, allocations: 8.844 kB / 0.821 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.01196, allocations: 4 kB / 0.821 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.01198, allocations: 5.219 kB / 0.821 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.01219, allocations: 95.89 kB / 0.8211 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01219, allocations: 4 kB / 0.8211 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.01232, allocations: 61 kB / 0.8212 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.01234, allocations: 16 kB / 0.8212 GB, free: 7.574 MB / 0.7761 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 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.mode,$whenCondition2) * 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.0001227/0.01246, allocations: 201 kB / 0.8214 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.01251, allocations: 43.8 kB / 0.8214 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.01255, allocations: 29.97 kB / 0.8214 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.01255, allocations: 8 kB / 0.8215 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01255, allocations: 0 / 0.8215 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.01256, allocations: 4.922 kB / 0.8215 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.01275, allocations: 208.9 kB / 0.8217 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01275, allocations: 1.125 kB / 0.8217 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.01295, allocations: 75.89 kB / 0.8217 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01296, allocations: 0 / 0.8217 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.01298, allocations: 13.03 kB / 0.8217 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01298, allocations: 7.938 kB / 0.8217 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01298, allocations: 0 / 0.8217 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.01342, allocations: 432 kB / 0.8222 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.01344, allocations: 23.8 kB / 0.8222 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.01346, allocations: 13.05 kB / 0.8222 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.01357, allocations: 32.47 kB / 0.8222 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.01366, allocations: 65.16 kB / 0.8223 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.01367, allocations: 15.98 kB / 0.8223 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.15e-05/0.01374, allocations: 160.2 kB / 0.8225 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01374, allocations: 0 / 0.8225 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002391/0.01397, allocations: 80.88 kB / 0.8225 GB, free: 6.133 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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.000129/0.0141, allocations: 123.2 kB / 0.8227 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.01439, allocations: 256.9 kB / 0.8229 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01439, allocations: 0 / 0.8229 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.01452, allocations: 125.1 kB / 0.823 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.01484, allocations: 47.62 kB / 0.8231 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009006/0.01574, allocations: 0.5626 MB / 0.8236 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.01579, allocations: 103.1 kB / 0.8237 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.376e-05/0.01589, allocations: 33.62 kB / 0.8237 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.01604, allocations: 130.9 kB / 0.8239 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of SimCode: time 1.213e-06/0.01604, allocations: 0 / 0.8239 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of Templates: time 0.007361/0.0234, allocations: 4.361 MB / 0.8281 GB, free: 408 kB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.032542624045163]