Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001792/0.001792, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002211/0.002211, allocations: 218.8 kB / 22.25 MB, free: 5.125 MB / 14.72 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.854/2.854, allocations: 476.7 MB / 0.7706 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 66.31 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4333, allocations: 169.9 MB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002792/0.4361, allocations: 1.121 MB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.4378, allocations: 1.149 MB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.4379, allocations: 4 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.977e-05/0.438, allocations: 23.67 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.4381, allocations: 39.58 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.4386, allocations: 155.7 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004013/0.439, allocations: 335 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.4392, allocations: 36.58 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.4394, allocations: 139.7 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.4397, allocations: 155.3 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.4397, allocations: 28 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-05/0.4398, allocations: 35.98 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.239e-05/0.4399, allocations: 75.8 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.44, allocations: 139.4 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.4404, allocations: 314.7 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4404, allocations: 0 / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4404, allocations: 0 / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.4404, allocations: 8 kB / 1.288 GB, free: 7.387 MB / 0.9825 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.001354/0.4418, allocations: 0.5559 MB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.4418, allocations: 12.03 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.4422, allocations: 60.66 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.4423, allocations: 147 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003865/0.4427, allocations: 0.4918 MB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.4427, allocations: 24.38 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.4433, allocations: 262.3 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.4433, allocations: 11.89 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.4433, allocations: 4 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4433, allocations: 4 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004328/0.4437, allocations: 179.8 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.4449, allocations: 0.7338 MB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.4454, allocations: 199.7 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.4457, allocations: 130.5 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.4457, allocations: 8 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005847/0.4463, allocations: 315.7 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 1.764e-06/0.4463, allocations: 4.219 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.001075/0.4474, allocations: 485.9 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.633e-05/0.4475, allocations: 114.7 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.4477, allocations: 188.1 kB / 1.291 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.4477, allocations: 37.7 kB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.997e-05/0.4478, allocations: 113.4 kB / 1.291 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.448, allocations: 158.7 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.4481, allocations: 102.3 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4483, allocations: 342.8 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.4486, allocations: 149.2 kB / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.449, allocations: 252.7 kB / 1.292 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/0.4497, allocations: 394.1 kB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.4497, allocations: 4 kB / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000878/0.4506, allocations: 485.1 kB / 1.293 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.4506, allocations: 15.92 kB / 1.293 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4506, allocations: 4 kB / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.4506, allocations: 8.094 kB / 1.293 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.451, allocations: 95.81 kB / 1.293 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.451, allocations: 12.64 kB / 1.293 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.4513, allocations: 59.64 kB / 1.293 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.4513, allocations: 20 kB / 1.293 GB, free: 0.8555 MB / 0.9825 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.0001905/0.4515, allocations: 163.5 kB / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.4516, allocations: 27.8 kB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.919e-05/0.4517, allocations: 33.95 kB / 1.294 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.4517, allocations: 11.94 kB / 1.294 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.4517, allocations: 3.938 kB / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.4517, allocations: 0 / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.4521, allocations: 332.3 kB / 1.294 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4521, allocations: 0 / 1.294 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.4525, allocations: 79.89 kB / 1.294 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-06/0.4525, allocations: 7.938 kB / 1.294 GB, free: 156 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.4525, allocations: 8 kB / 1.294 GB, free: 148 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.4525, allocations: 4 kB / 1.294 GB, free: 144 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4525, allocations: 3.984 kB / 1.294 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.4536, allocations: 0.5839 MB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.4537, allocations: 23.8 kB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.4537, allocations: 15.94 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.4539, allocations: 27.97 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.4541, allocations: 59.91 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.4541, allocations: 16.05 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001057/0.4542, allocations: 129.2 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4542, allocations: 0 / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003376/0.4546, allocations: 83.95 kB / 1.295 GB, free: 15.18 MB / 0.9981 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.0001766/0.4547, allocations: 123.1 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007656/0.4555, allocations: 366.9 kB / 1.295 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4555, allocations: 4 kB / 1.295 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.4559, allocations: 180.6 kB / 1.296 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.4562, allocations: 43.91 kB / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.4574, allocations: 0.6111 MB / 1.296 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.4578, allocations: 0.7648 MB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001438/0.458, allocations: 38.97 kB / 1.297 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.4581, allocations: 39.61 kB / 1.297 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.4581, allocations: 4.125 kB / 1.297 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of Templates: time 0.009001/0.4671, allocations: 4.153 MB / 1.301 GB, free: 8.836 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.750422611366957]