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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002374/0.002374, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.989/2.989, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.83 kB / 1.107 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002301/1.123, allocations: 1.12 MB / 1.273 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001395/1.124, allocations: 1.108 MB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/1.124, allocations: 5.75 kB / 1.274 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.102e-05/1.124, allocations: 19.08 kB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/1.124, allocations: 44.02 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/1.125, allocations: 157.6 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003628/1.125, allocations: 323 kB / 1.275 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/1.125, allocations: 40.92 kB / 1.275 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/1.125, allocations: 135.2 kB / 1.275 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/1.126, allocations: 151.5 kB / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.233e-05/1.126, allocations: 29.47 kB / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.019e-05/1.126, allocations: 29.88 kB / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/1.126, allocations: 80.75 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/1.126, allocations: 131.1 kB / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000365/1.126, allocations: 317.5 kB / 1.276 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.126, allocations: 0.9062 kB / 1.276 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.334e-06/1.126, allocations: 0 / 1.276 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.035e-06/1.126, allocations: 0.9062 kB / 1.276 GB, free: 5.648 MB / 0.9981 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.001238/1.128, allocations: 0.6262 MB / 1.276 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.128, allocations: 13.38 kB / 1.276 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.403e-05/1.128, allocations: 37.53 kB / 1.276 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/1.128, allocations: 204.2 kB / 1.276 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/1.128, allocations: 266 kB / 1.277 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/1.128, allocations: 28.25 kB / 1.277 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/1.129, allocations: 261.8 kB / 1.277 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/1.129, allocations: 4.906 kB / 1.277 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/1.129, allocations: 12.59 kB / 1.277 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/1.129, allocations: 5.281 kB / 1.277 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/1.129, allocations: 175.5 kB / 1.277 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/1.13, allocations: 0.7764 MB / 1.278 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/1.131, allocations: 196.1 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/1.131, allocations: 128.3 kB / 1.278 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/1.131, allocations: 11.55 kB / 1.278 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005841/1.132, allocations: 302.7 kB / 1.279 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=48): time 1.964e-06/1.132, allocations: 4 kB / 1.279 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.001089/1.133, allocations: 485.7 kB / 1.279 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/1.133, allocations: 112.8 kB / 1.279 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/1.133, allocations: 180.8 kB / 1.279 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/1.133, allocations: 42.58 kB / 1.279 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/1.133, allocations: 124.6 kB / 1.279 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/1.133, allocations: 155.8 kB / 1.28 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/1.133, allocations: 103.5 kB / 1.28 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.481e-05/1.133, allocations: 343.8 kB / 1.28 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/1.134, allocations: 149.1 kB / 1.28 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/1.134, allocations: 250.1 kB / 1.28 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/1.135, allocations: 398.2 kB / 1.281 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.135, allocations: 1.781 kB / 1.281 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008436/1.136, allocations: 494.7 kB / 1.281 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.136, allocations: 9.922 kB / 1.281 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/1.136, allocations: 2.031 kB / 1.281 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/1.136, allocations: 9.703 kB / 1.281 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/1.136, allocations: 104.3 kB / 1.281 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/1.136, allocations: 5.953 kB / 1.281 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/1.136, allocations: 53.75 kB / 1.281 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/1.136, allocations: 20.97 kB / 1.281 GB, free: 1.695 MB / 0.9981 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.0001457/1.137, allocations: 168.2 kB / 1.282 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/1.137, allocations: 36.3 kB / 1.282 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.637e-05/1.137, allocations: 33.98 kB / 1.282 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.137, allocations: 5.688 kB / 1.282 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.137, allocations: 0 / 1.282 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/1.137, allocations: 4.672 kB / 1.282 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/1.137, allocations: 358.9 kB / 1.282 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.137, allocations: 0 / 1.282 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/1.137, allocations: 75.62 kB / 1.282 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/1.137, allocations: 10.56 kB / 1.282 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/1.138, allocations: 10.62 kB / 1.282 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.138, allocations: 7.688 kB / 1.282 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.138, allocations: 0 / 1.282 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/1.139, allocations: 0.5774 MB / 1.283 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/1.139, allocations: 108 kB / 1.283 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/1.139, allocations: 19.44 kB / 1.283 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/1.139, allocations: 32.2 kB / 1.283 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/1.139, allocations: 51.23 kB / 1.283 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/1.139, allocations: 17.42 kB / 1.283 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.055e-05/1.139, allocations: 128.2 kB / 1.283 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.139, allocations: 0 / 1.283 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003365/1.14, allocations: 82.78 kB / 1.283 GB, free: 0.6719 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.0001885/1.14, allocations: 120.4 kB / 1.283 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007282/1.14, allocations: 354.6 kB / 1.284 GB, free: 480 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.14, allocations: 0 / 1.284 GB, free: 480 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/1.141, allocations: 192.1 kB / 1.284 GB, free: 412 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/1.141, allocations: 55.05 kB / 1.284 GB, free: 384 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/1.142, allocations: 0.6485 MB / 1.284 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/1.143, allocations: 0.7615 MB / 1.285 GB, free: 15.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001581/1.143, allocations: 38.44 kB / 1.285 GB, free: 15.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/1.143, allocations: 41.5 kB / 1.285 GB, free: 15.25 MB / 1.014 GB Notification: Performance of SimCode: time 6.81e-07/1.143, allocations: 0 / 1.285 GB, free: 15.25 MB / 1.014 GB Notification: Performance of Templates: time 0.009077/1.152, allocations: 4.025 MB / 1.289 GB, free: 15 MB / 1.014 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.990907497704029]