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.001286/0.001286, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001402/0.001402, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.467/1.467, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.9/2.9, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002071/0.002071, allocations: 71.89 kB / 1.15 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9003/0.9024, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001978/0.9044, allocations: 1.109 MB / 1.323 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.9054, allocations: 1.15 MB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.9055, allocations: 3.938 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.845e-05/0.9056, allocations: 18.94 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.603e-05/0.9056, allocations: 43.95 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.9061, allocations: 150.7 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.9064, allocations: 333.1 kB / 1.325 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.9065, allocations: 36.47 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.9068, allocations: 142.4 kB / 1.325 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.9069, allocations: 152.6 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.907, allocations: 34.09 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.183e-05/0.9071, allocations: 31.59 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.9071, allocations: 78.42 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.9073, allocations: 132.5 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.9076, allocations: 327.9 kB / 1.326 GB, free: 22.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9076, allocations: 0 / 1.326 GB, free: 22.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9076, allocations: 0 / 1.326 GB, free: 22.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.9077, allocations: 0 / 1.326 GB, free: 22.74 MB / 1.061 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.001228/0.9089, allocations: 0.6316 MB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.9089, allocations: 8.031 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/0.9093, allocations: 60.2 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.9094, allocations: 203.4 kB / 1.327 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.9096, allocations: 260.9 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.65e-05/0.9097, allocations: 30.77 kB / 1.327 GB, free: 21.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.9102, allocations: 262.8 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.9102, allocations: 5.406 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.9102, allocations: 14.19 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.9102, allocations: 4.719 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.9107, allocations: 169.5 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.9119, allocations: 0.7757 MB / 1.328 GB, free: 20.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.9125, allocations: 200.1 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.9128, allocations: 129.8 kB / 1.328 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.9128, allocations: 9.938 kB / 1.328 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006635/0.9135, allocations: 319.2 kB / 1.329 GB, free: 20.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=48): time 2.084e-06/0.9135, allocations: 0.5625 kB / 1.329 GB, free: 20.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.001253/0.9147, allocations: 483.9 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.9148, allocations: 121 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.915, allocations: 176.4 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.915, allocations: 42.17 kB / 1.329 GB, free: 20.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.9151, allocations: 121.4 kB / 1.33 GB, free: 20.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.9152, allocations: 155.4 kB / 1.33 GB, free: 19.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.9154, allocations: 108.2 kB / 1.33 GB, free: 19.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.21e-05/0.9155, allocations: 343.1 kB / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.9158, allocations: 145 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.9162, allocations: 254.2 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006301/0.9168, allocations: 406 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.9168, allocations: 1.094 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008971/0.9177, allocations: 486 kB / 1.331 GB, free: 18.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.9177, allocations: 11.69 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.9177, allocations: 2.969 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.9178, allocations: 5.844 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.9182, allocations: 98.92 kB / 1.331 GB, free: 18.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.9182, allocations: 6.344 kB / 1.331 GB, free: 18.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.9185, allocations: 61.12 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.9185, allocations: 21.08 kB / 1.332 GB, free: 18.79 MB / 1.061 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.0001467/0.9186, allocations: 157.3 kB / 1.332 GB, free: 18.65 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.9187, allocations: 33.28 kB / 1.332 GB, free: 18.63 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.9188, allocations: 32.36 kB / 1.332 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.9188, allocations: 5.469 kB / 1.332 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.9188, allocations: 0.9375 kB / 1.332 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.9188, allocations: 3.422 kB / 1.332 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.9191, allocations: 360 kB / 1.332 GB, free: 18.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9191, allocations: 1.062 kB / 1.332 GB, free: 18.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.9196, allocations: 78.3 kB / 1.332 GB, free: 18.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.9196, allocations: 7.125 kB / 1.332 GB, free: 18.31 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.9196, allocations: 15.48 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.9196, allocations: 10.8 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9196, allocations: 1.219 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.9207, allocations: 0.5746 MB / 1.333 GB, free: 18.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.9207, allocations: 106.6 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.9208, allocations: 16.27 kB / 1.333 GB, free: 17.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.921, allocations: 29.12 kB / 1.333 GB, free: 17.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.9212, allocations: 41.58 kB / 1.333 GB, free: 17.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.9212, allocations: 16.69 kB / 1.333 GB, free: 17.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.458e-05/0.9213, allocations: 123.2 kB / 1.333 GB, free: 17.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.9213, allocations: 1.219 kB / 1.333 GB, free: 17.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003871/0.9217, allocations: 91.91 kB / 1.333 GB, free: 17.77 MB / 1.061 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.0001711/0.9218, allocations: 118.6 kB / 1.333 GB, free: 17.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008164/0.9227, allocations: 359.7 kB / 1.334 GB, free: 17.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.9227, allocations: 4.656 kB / 1.334 GB, free: 17.56 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004229/0.9231, allocations: 172.7 kB / 1.334 GB, free: 17.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.9234, allocations: 41.81 kB / 1.334 GB, free: 17.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.9247, allocations: 0.6534 MB / 1.334 GB, free: 17.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.9249, allocations: 0.7642 MB / 1.335 GB, free: 16.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.9251, allocations: 35.34 kB / 1.335 GB, free: 16.36 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.9251, allocations: 0 / 1.335 GB, free: 16.36 MB / 1.061 GB Notification: Performance of Templates: time 0.00849/0.9336, allocations: 4.002 MB / 1.339 GB, free: 15.98 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.638990341991303]