Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.001019/0.001019, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001134/0.001134, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 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.9898/0.9898, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.845/1.845, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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_nonZeroStart,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_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,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_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.856e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002286/0.002314, allocations: 2.009 MB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008735/0.003188, allocations: 0.716 MB / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.743e-05/0.003265, allocations: 0 / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.431e-05/0.003309, allocations: 21.62 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.994e-05/0.003409, allocations: 51.44 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.00382, allocations: 181.3 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000257/0.004077, allocations: 331 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.004206, allocations: 40.91 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.004442, allocations: 199.5 kB / 0.8151 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.004576, allocations: 120.5 kB / 0.8152 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.004616, allocations: 28.53 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.76e-05/0.004673, allocations: 32 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.00472, allocations: 76.39 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.00479, allocations: 103.7 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.005008, allocations: 235.7 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.00501, allocations: 5.281 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005011, allocations: 0 / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.005015, allocations: 0 / 0.8156 GB, free: 13.54 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.0007546/0.00577, allocations: 0.6638 MB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.005807, allocations: 12.03 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.006013, allocations: 73.61 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.00623, allocations: 197.6 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/0.006434, allocations: 499.7 kB / 0.817 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.006474, allocations: 29.66 kB / 0.8171 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.006767, allocations: 228.3 kB / 0.8173 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.006782, allocations: 4.141 kB / 0.8173 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.006802, allocations: 16.97 kB / 0.8173 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.006811, allocations: 4 kB / 0.8173 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.006966, allocations: 97.05 kB / 0.8174 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.007619, allocations: 0.7756 MB / 0.8182 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.007872, allocations: 173.1 kB / 0.8183 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.007977, allocations: 92.55 kB / 0.8184 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.008005, allocations: 11.94 kB / 0.8184 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003263/0.008331, allocations: 262.3 kB / 0.8187 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 1.583e-06/0.008333, allocations: 2.812 kB / 0.8187 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.00051/0.008843, allocations: 388.2 kB / 0.819 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.008888, allocations: 114.8 kB / 0.8192 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.009005, allocations: 247.8 kB / 0.8194 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.009029, allocations: 37.7 kB / 0.8194 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.009085, allocations: 164 kB / 0.8196 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.159e-05/0.009166, allocations: 154.8 kB / 0.8197 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.009259, allocations: 112.5 kB / 0.8198 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.009374, allocations: 0.5157 MB / 0.8203 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.009489, allocations: 81.78 kB / 0.8204 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.009663, allocations: 228 kB / 0.8206 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.009951, allocations: 316 kB / 0.8209 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.009954, allocations: 0 / 0.8209 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000409/0.01036, allocations: 413.2 kB / 0.8213 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01038, allocations: 8.906 kB / 0.8213 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.01039, allocations: 4 kB / 0.8213 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.0104, allocations: 4.656 kB / 0.8213 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.0106, allocations: 96.42 kB / 0.8214 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.01061, allocations: 8 kB / 0.8214 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.01073, allocations: 62.55 kB / 0.8215 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.01076, allocations: 20 kB / 0.8215 GB, free: 7.031 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.0001072/0.01086, allocations: 202.4 kB / 0.8217 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.01091, allocations: 43.86 kB / 0.8218 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.01095, allocations: 36.64 kB / 0.8218 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01095, allocations: 7.938 kB / 0.8218 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.01096, allocations: 7.938 kB / 0.8218 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01096, allocations: 0 / 0.8218 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.01114, allocations: 240.3 kB / 0.822 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01114, allocations: 0 / 0.822 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.01134, allocations: 67.91 kB / 0.8221 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01134, allocations: 4.938 kB / 0.8221 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.01136, allocations: 11.98 kB / 0.8221 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.01137, allocations: 5.094 kB / 0.8221 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01137, allocations: 64 / 0.8221 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.01188, allocations: 472.8 kB / 0.8226 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.0119, allocations: 31.75 kB / 0.8226 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.01193, allocations: 8 kB / 0.8226 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.951e-05/0.01203, allocations: 37.08 kB / 0.8226 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/0.01213, allocations: 64.91 kB / 0.8227 GB, free: 5.758 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.01215, allocations: 16 kB / 0.8227 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.389e-05/0.01221, allocations: 163.1 kB / 0.8229 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01221, allocations: 1.562 kB / 0.8229 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002045/0.01241, allocations: 80 kB / 0.823 GB, free: 5.504 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 9.671e-05/0.01251, allocations: 119 kB / 0.8231 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.01285, allocations: 285.7 kB / 0.8233 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01285, allocations: 0 / 0.8233 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.01301, allocations: 140.4 kB / 0.8235 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.01323, allocations: 50.34 kB / 0.8235 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/0.01408, allocations: 0.5899 MB / 0.8241 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.01413, allocations: 93.61 kB / 0.8242 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.01423, allocations: 43.83 kB / 0.8242 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.01431, allocations: 36.5 kB / 0.8243 GB, free: 4.09 MB / 0.7761 GB Notification: Performance of SimCode: time 1.041e-06/0.01431, allocations: 0 / 0.8243 GB, free: 4.09 MB / 0.7761 GB Notification: Performance of Templates: time 0.005821/0.02014, allocations: 4.269 MB / 0.8284 GB, free: 15.89 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.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.1433944227173924]