Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001478/0.001478, allocations: 109.2 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.001859/0.001859, allocations: 219 kB / 22.26 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.773/1.773, 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.961/2.961, allocations: 476.7 MB / 0.7706 GB, free: 4.277 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_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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [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.002213/0.002213, allocations: 66.86 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4312, allocations: 170 MB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003902/0.4351, allocations: 2.011 MB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.4366, allocations: 0.7419 MB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.4367, allocations: 4 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.561e-05/0.4367, allocations: 23.67 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.4369, allocations: 43.58 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.4375, allocations: 167.7 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.4379, allocations: 339 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.438, allocations: 36.92 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.4383, allocations: 143.5 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.4385, allocations: 151.4 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.4386, allocations: 32 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.875e-05/0.4387, allocations: 35.94 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.4388, allocations: 83.78 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.4389, allocations: 131.3 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.4394, allocations: 322.7 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4394, allocations: 0 / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4394, allocations: 0 / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.4394, allocations: 0 / 1.288 GB, free: 6.898 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.001462/0.4408, allocations: 0.5599 MB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.4409, allocations: 8.031 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/0.4413, allocations: 64.7 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.4418, allocations: 186.1 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005248/0.4423, allocations: 0.4957 MB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/0.4424, allocations: 28.31 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006443/0.443, allocations: 261.9 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.4431, allocations: 3.953 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.4431, allocations: 8 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.4431, allocations: 8 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.4436, allocations: 183.8 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.445, allocations: 0.7534 MB / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.4455, allocations: 191.7 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.4458, allocations: 130.5 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.464e-05/0.4459, allocations: 11.94 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005563/0.4464, allocations: 315.7 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 2.435e-06/0.4464, allocations: 0 / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.001091/0.4475, allocations: 490.1 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.4476, allocations: 122.7 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.4479, allocations: 176.8 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.4479, allocations: 41.7 kB / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.448, allocations: 125.3 kB / 1.292 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.4482, allocations: 150.8 kB / 1.292 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.4483, allocations: 106.3 kB / 1.292 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.4485, allocations: 338.8 kB / 1.293 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.4488, allocations: 149.2 kB / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.4492, allocations: 256.7 kB / 1.293 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.4499, allocations: 394 kB / 1.293 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.4499, allocations: 4 kB / 1.293 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008972/0.4508, allocations: 496.9 kB / 1.294 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.4508, allocations: 8 kB / 1.294 GB, free: 500 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4508, allocations: 0 / 1.294 GB, free: 500 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.4509, allocations: 8 kB / 1.294 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.4513, allocations: 91.83 kB / 1.294 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.4513, allocations: 20.58 kB / 1.294 GB, free: 380 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.4516, allocations: 55.73 kB / 1.294 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.4516, allocations: 20 kB / 1.294 GB, free: 304 kB / 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.0002407/0.4518, allocations: 155.5 kB / 1.294 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.4519, allocations: 35.75 kB / 1.294 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.917e-05/0.452, allocations: 37.95 kB / 1.294 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.452, allocations: 4 kB / 1.294 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.452, allocations: 0 / 1.294 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.452, allocations: 7.984 kB / 1.294 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.4525, allocations: 324.3 kB / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4525, allocations: 96 / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.4529, allocations: 79.83 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.4529, allocations: 7.984 kB / 1.295 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.4529, allocations: 16.05 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4529, allocations: 4 kB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4529, allocations: 3.938 kB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.4541, allocations: 0.5829 MB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.4541, allocations: 31.69 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.4541, allocations: 15.98 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.4544, allocations: 31.97 kB / 1.295 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.4545, allocations: 59.91 kB / 1.295 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.4545, allocations: 12 kB / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001198/0.4547, allocations: 132.3 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4547, allocations: 0 / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003411/0.455, allocations: 76 kB / 1.296 GB, free: 14.62 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.0001921/0.4552, allocations: 124 kB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007845/0.456, allocations: 359.1 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.456, allocations: 0 / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.4564, allocations: 185.5 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.4567, allocations: 49.45 kB / 1.296 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.4581, allocations: 0.6223 MB / 1.297 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.4585, allocations: 0.7687 MB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.4587, allocations: 38.97 kB / 1.298 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.4588, allocations: 39.42 kB / 1.298 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of SimCode: time 6.92e-07/0.4588, allocations: 4 kB / 1.298 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of Templates: time 0.01004/0.4689, allocations: 4.155 MB / 1.302 GB, free: 8.25 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.909783768001944]