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.002605/0.002605, allocations: 87.69 kB / 20.23 MB, free: 4.188 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.002688/0.002688, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.66/1.66, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 3.02/3.02, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] 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.945e-06/2.945e-06, allocations: 0 / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.667e-05/3.961e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002656/0.002696, allocations: 1.059 MB / 0.8119 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.004654, allocations: 1.137 MB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.587e-05/0.00475, allocations: 0.6562 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.005105, allocations: 24.92 kB / 0.8131 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.005266, allocations: 48.48 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.005815, allocations: 155.7 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.006252, allocations: 335.7 kB / 0.8136 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.006403, allocations: 33.31 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.006777, allocations: 203.6 kB / 0.8138 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.007012, allocations: 116.9 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.007077, allocations: 32 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.426e-05/0.007171, allocations: 36 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.365e-05/0.007265, allocations: 77.61 kB / 0.814 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.007401, allocations: 103.7 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.007884, allocations: 339 kB / 0.8145 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.007888, allocations: 0 / 0.8145 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.007889, allocations: 3.938 kB / 0.8145 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.007898, allocations: 5.125 kB / 0.8145 GB, free: 14.37 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.001437/0.009336, allocations: 0.6583 MB / 0.8151 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.009381, allocations: 9.562 kB / 0.8151 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/0.009758, allocations: 80.72 kB / 0.8152 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.009944, allocations: 149.7 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004433/0.01039, allocations: 497.2 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.01045, allocations: 32.36 kB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.01103, allocations: 267.6 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.01105, allocations: 0.75 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.01108, allocations: 12.31 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.01109, allocations: 8.906 kB / 0.8161 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.01154, allocations: 169.7 kB / 0.8163 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.01289, allocations: 0.8217 MB / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.01346, allocations: 221.8 kB / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.01375, allocations: 127.5 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.168e-05/0.0138, allocations: 13.19 kB / 0.8174 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006056/0.01441, allocations: 326.5 kB / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 1.933e-06/0.01441, allocations: 0.5312 kB / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.001185/0.01559, allocations: 499.3 kB / 0.8182 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.01572, allocations: 123.1 kB / 0.8183 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.01598, allocations: 256.2 kB / 0.8186 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.01603, allocations: 41.64 kB / 0.8186 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.01617, allocations: 172 kB / 0.8188 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.01636, allocations: 163.6 kB / 0.8189 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.01655, allocations: 120 kB / 0.8191 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003224/0.01687, allocations: 0.5283 MB / 0.8196 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.01719, allocations: 137.2 kB / 0.8197 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007544/0.01795, allocations: 296 kB / 0.82 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/0.01873, allocations: 435.9 kB / 0.8204 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.01874, allocations: 4.875 kB / 0.8204 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009909/0.01973, allocations: 0.4955 MB / 0.8209 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.01975, allocations: 10.66 kB / 0.8209 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.01976, allocations: 4 kB / 0.8209 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.01979, allocations: 7.984 kB / 0.8209 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.0202, allocations: 91.83 kB / 0.821 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.02022, allocations: 12.62 kB / 0.821 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.02051, allocations: 59.19 kB / 0.8211 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.02056, allocations: 23.94 kB / 0.8211 GB, free: 7.113 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.0002297/0.02079, allocations: 202.5 kB / 0.8213 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.844e-05/0.02088, allocations: 47.8 kB / 0.8213 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.328e-05/0.02096, allocations: 29.97 kB / 0.8214 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.02097, allocations: 4 kB / 0.8214 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.02098, allocations: 4.562 kB / 0.8214 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.02099, allocations: 7.922 kB / 0.8214 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.02137, allocations: 256.9 kB / 0.8216 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02138, allocations: 0.625 kB / 0.8216 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.02181, allocations: 71.91 kB / 0.8217 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.02181, allocations: 1.344 kB / 0.8217 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.02186, allocations: 15.98 kB / 0.8217 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.02186, allocations: 4 kB / 0.8217 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02186, allocations: 0.7812 kB / 0.8217 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.02312, allocations: 0.6239 MB / 0.8223 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.02316, allocations: 27.75 kB / 0.8224 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.02321, allocations: 8 kB / 0.8224 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.02346, allocations: 34.31 kB / 0.8224 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.02363, allocations: 71.83 kB / 0.8225 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.02366, allocations: 16 kB / 0.8225 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001455/0.02381, allocations: 165.1 kB / 0.8226 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02381, allocations: 0 / 0.8226 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000337/0.02414, allocations: 91.48 kB / 0.8227 GB, free: 5.391 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.0001899/0.02433, allocations: 114.3 kB / 0.8228 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008526/0.02519, allocations: 397.6 kB / 0.8232 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02519, allocations: 0 / 0.8232 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.0256, allocations: 193.3 kB / 0.8234 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.02597, allocations: 59.92 kB / 0.8234 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.02727, allocations: 0.5794 MB / 0.824 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.02747, allocations: 164.5 kB / 0.8242 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000153/0.02762, allocations: 37.61 kB / 0.8242 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.02776, allocations: 48.98 kB / 0.8243 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.02776, allocations: 0 / 0.8243 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of Templates: time 0.0103/0.03806, allocations: 4.04 MB / 0.8282 GB, free: 15.79 MB / 0.7917 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.497154316981323]