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.001717/0.001717, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002077/0.002077, allocations: 213.3 kB / 22.24 MB, free: 4.855 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.797 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 3.71/3.71, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 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.002141/0.002141, allocations: 65.12 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4753, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.003431/0.4787, allocations: 1.041 MB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.4811, allocations: 1.127 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.4813, allocations: 8 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.948e-05/0.4813, allocations: 15.75 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.4815, allocations: 35.59 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.4822, allocations: 147.7 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000541/0.4828, allocations: 339 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.483, allocations: 32.58 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.4834, allocations: 147.6 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.4837, allocations: 131.4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.4837, allocations: 28 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.166e-05/0.4838, allocations: 36 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.4839, allocations: 75.78 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.484, allocations: 115.5 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.4846, allocations: 322.7 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4846, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.005e-06/0.4846, allocations: 3.938 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.4846, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 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.001781/0.4864, allocations: 0.556 MB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.4864, allocations: 8.031 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004899/0.4869, allocations: 64.72 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.4871, allocations: 147 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005024/0.4876, allocations: 499.6 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.04e-05/0.4877, allocations: 28.36 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007973/0.4885, allocations: 262.2 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/0.4885, allocations: 11.88 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.4886, allocations: 8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.4886, allocations: 4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006215/0.4892, allocations: 190.4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.4908, allocations: 0.6447 MB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000772/0.4916, allocations: 195.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.492, allocations: 127.8 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.318e-05/0.4921, allocations: 11.98 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008931/0.493, allocations: 311.3 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 3.757e-06/0.493, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.001569/0.4945, allocations: 482.7 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.4947, allocations: 126.7 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.4949, allocations: 187.4 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/0.495, allocations: 41.7 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.4951, allocations: 113.4 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.4954, allocations: 158.7 kB / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.4956, allocations: 106.3 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000229/0.4959, allocations: 338.8 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004593/0.4963, allocations: 153.2 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/0.4969, allocations: 248.8 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.4979, allocations: 402 kB / 1.334 GB, free: 8.465 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.4979, allocations: 0 / 1.334 GB, free: 8.465 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001368/0.4993, allocations: 489.1 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.4993, allocations: 8 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.4993, allocations: 4 kB / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.443e-05/0.4994, allocations: 7.938 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.5, allocations: 103.8 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.5, allocations: 8 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.5004, allocations: 55.7 kB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.5004, allocations: 20 kB / 1.335 GB, free: 7.777 MB / 1.029 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.0002811/0.5007, allocations: 156 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.5008, allocations: 31.84 kB / 1.335 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.5009, allocations: 37.91 kB / 1.335 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.5009, allocations: 4 kB / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.5009, allocations: 0 / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.5009, allocations: 11.92 kB / 1.335 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/0.5015, allocations: 237 kB / 1.335 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.5015, allocations: 4 kB / 1.335 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005718/0.502, allocations: 71.89 kB / 1.335 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.502, allocations: 4.094 kB / 1.335 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.5021, allocations: 11.98 kB / 1.335 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/0.5021, allocations: 11.92 kB / 1.335 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5021, allocations: 4 kB / 1.335 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.5038, allocations: 0.5877 MB / 1.336 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.5039, allocations: 23.8 kB / 1.336 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.504, allocations: 12 kB / 1.336 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.5043, allocations: 31.91 kB / 1.336 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.5045, allocations: 59.91 kB / 1.336 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.5046, allocations: 23.98 kB / 1.336 GB, free: 6.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001682/0.5047, allocations: 121.2 kB / 1.336 GB, free: 6.289 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5047, allocations: 0 / 1.336 GB, free: 6.289 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005705/0.5053, allocations: 79.95 kB / 1.336 GB, free: 6.211 MB / 1.029 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.0002444/0.5055, allocations: 120 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.5067, allocations: 376.5 kB / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5067, allocations: 0 / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.5072, allocations: 175.8 kB / 1.337 GB, free: 5.551 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.5077, allocations: 54.94 kB / 1.337 GB, free: 5.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.5096, allocations: 0.6184 MB / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.5098, allocations: 156.2 kB / 1.338 GB, free: 4.676 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002726/0.5101, allocations: 34.97 kB / 1.338 GB, free: 4.637 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.5103, allocations: 43.42 kB / 1.338 GB, free: 4.594 MB / 1.029 GB Notification: Performance of SimCode: time 6.22e-07/0.5103, allocations: 0 / 1.338 GB, free: 4.594 MB / 1.029 GB Notification: Performance of Templates: time 0.01324/0.5235, allocations: 4.212 MB / 1.342 GB, free: 460 kB / 1.029 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/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: 10.39881182089448]