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.001781/0.001781, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.002223/0.002223, allocations: 220 kB / 22.99 MB, free: 4.91 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.905/2.905, allocations: 476 MB / 0.7707 GB, free: 4.742 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.002099/0.002099, allocations: 64.58 kB / 1.118 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4085, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002607/0.4111, allocations: 1.034 MB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.4128, allocations: 1.137 MB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.984e-05/0.4129, allocations: 4 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.689e-05/0.4129, allocations: 19.69 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.4131, allocations: 39.58 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.4135, allocations: 151.7 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.4139, allocations: 331 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.4141, allocations: 32.58 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.4143, allocations: 143.6 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.4145, allocations: 139.3 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.4146, allocations: 31.94 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-05/0.4147, allocations: 36 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.559e-05/0.4148, allocations: 75.8 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.4149, allocations: 111.5 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003977/0.4153, allocations: 330.7 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4153, allocations: 3.938 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4153, allocations: 0 / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.4153, allocations: 0 / 1.287 GB, free: 8.305 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.001242/0.4165, allocations: 0.552 MB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4166, allocations: 8.031 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/0.4169, allocations: 64.72 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.4171, allocations: 147 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003718/0.4174, allocations: 495.6 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.4175, allocations: 28.38 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.418, allocations: 258.3 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.418, allocations: 11.83 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.418, allocations: 15.98 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.418, allocations: 8 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.4185, allocations: 167.9 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.4195, allocations: 0.6447 MB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.42, allocations: 195.7 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.4203, allocations: 128.6 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.4203, allocations: 15.98 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006207/0.421, allocations: 307.3 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 3.918e-06/0.421, allocations: 3.984 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.001055/0.422, allocations: 488.3 kB / 1.291 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.4221, allocations: 122.8 kB / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.4223, allocations: 184.1 kB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.4223, allocations: 41.69 kB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.4224, allocations: 117.4 kB / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.4226, allocations: 154.7 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.4227, allocations: 106.3 kB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.4229, allocations: 338.8 kB / 1.292 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.4232, allocations: 153.2 kB / 1.292 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.4236, allocations: 260.7 kB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006688/0.4243, allocations: 394.1 kB / 1.293 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4243, allocations: 0 / 1.293 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008587/0.4251, allocations: 489.4 kB / 1.293 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4252, allocations: 15.88 kB / 1.293 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4252, allocations: 0 / 1.293 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.4252, allocations: 11.94 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.4256, allocations: 95.83 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.4256, allocations: 11.98 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.4259, allocations: 55.7 kB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.4259, allocations: 20 kB / 1.293 GB, free: 1.875 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.0001914/0.4261, allocations: 155.5 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.4261, allocations: 31.84 kB / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.74e-05/0.4262, allocations: 37.91 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.4262, allocations: 4 kB / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.4262, allocations: 0 / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.4262, allocations: 7.984 kB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.4266, allocations: 237 kB / 1.294 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4266, allocations: 4 kB / 1.294 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.427, allocations: 71.89 kB / 1.294 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.427, allocations: 4 kB / 1.294 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.427, allocations: 8 kB / 1.294 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.427, allocations: 7.938 kB / 1.294 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.427, allocations: 7.938 kB / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.4281, allocations: 0.5822 MB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.4282, allocations: 31.84 kB / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.4282, allocations: 12 kB / 1.294 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.4284, allocations: 31.91 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.4286, allocations: 47.92 kB / 1.294 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.4286, allocations: 12 kB / 1.294 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001174/0.4287, allocations: 141.2 kB / 1.295 GB, free: 400 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4287, allocations: 0 / 1.295 GB, free: 400 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003275/0.429, allocations: 75.95 kB / 1.295 GB, free: 324 kB / 0.9825 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.0001718/0.4292, allocations: 115.2 kB / 1.295 GB, free: 200 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007731/0.43, allocations: 366.6 kB / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.43, allocations: 0 / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.4304, allocations: 176.8 kB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.4307, allocations: 47.2 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.4319, allocations: 0.6434 MB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.4321, allocations: 156.2 kB / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.4322, allocations: 39.42 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/0.4322, allocations: 0 / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of Templates: time 0.007278/0.4395, allocations: 4.075 MB / 1.3 GB, free: 10.68 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/jenkins1/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: 11.78166276589036]