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.00125/0.00125, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.001545/0.001545, allocations: 210 kB / 22.24 MB, free: 5.113 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.816 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.944/2.944, allocations: 476 MB / 0.7699 GB, free: 4.75 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) [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.002214/0.002214, allocations: 68.72 kB / 1.117 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3806, allocations: 169.9 MB / 1.283 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00284/0.3835, allocations: 1.04 MB / 1.284 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.3853, allocations: 1.129 MB / 1.285 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.3855, allocations: 8 kB / 1.285 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.587e-05/0.3856, allocations: 19.73 kB / 1.285 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.3857, allocations: 43.47 kB / 1.285 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006127/0.3864, allocations: 147.7 kB / 1.285 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.3868, allocations: 327.1 kB / 1.285 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.387, allocations: 28.58 kB / 1.285 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003464/0.3873, allocations: 147.5 kB / 1.285 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.3876, allocations: 135.4 kB / 1.286 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.113e-05/0.3877, allocations: 28 kB / 1.286 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-05/0.3878, allocations: 40 kB / 1.286 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.011e-05/0.3878, allocations: 79.72 kB / 1.286 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.388, allocations: 111.5 kB / 1.286 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.3884, allocations: 323 kB / 1.286 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3884, allocations: 0 / 1.286 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3884, allocations: 0 / 1.286 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.3884, allocations: 0 / 1.286 GB, free: 0.582 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.001624/0.39, allocations: 0.5599 MB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.484e-05/0.3901, allocations: 8.031 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.3902, allocations: 54.73 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004396/0.3907, allocations: 68.72 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.3909, allocations: 150.9 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005542/0.3915, allocations: 495.6 kB / 1.287 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.524e-05/0.3915, allocations: 32.36 kB / 1.287 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006137/0.3922, allocations: 254.1 kB / 1.288 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.3922, allocations: 7.938 kB / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.3922, allocations: 12 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3922, allocations: 4 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.3928, allocations: 183.8 kB / 1.288 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.3942, allocations: 0.6755 MB / 1.289 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.3948, allocations: 195.9 kB / 1.289 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.3952, allocations: 134.5 kB / 1.289 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-05/0.3952, allocations: 15.88 kB / 1.289 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007366/0.3959, allocations: 315.7 kB / 1.289 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=48): time 2.906e-06/0.3959, allocations: 0 / 1.289 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.001188/0.3971, allocations: 485.1 kB / 1.29 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.3973, allocations: 126.7 kB / 1.29 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.3975, allocations: 184.1 kB / 1.29 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.878e-05/0.3976, allocations: 37.7 kB / 1.29 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3977, allocations: 109.4 kB / 1.29 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.3978, allocations: 162.7 kB / 1.29 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.398, allocations: 106.3 kB / 1.29 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3982, allocations: 342.8 kB / 1.291 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.3986, allocations: 149.2 kB / 1.291 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.399, allocations: 252.8 kB / 1.291 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007112/0.3997, allocations: 398 kB / 1.291 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.3997, allocations: 0 / 1.291 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009697/0.4007, allocations: 489 kB / 1.292 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.4007, allocations: 11.94 kB / 1.292 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4007, allocations: 0 / 1.292 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/0.4007, allocations: 8 kB / 1.292 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.4011, allocations: 103.8 kB / 1.292 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/0.4012, allocations: 12.64 kB / 1.292 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.4015, allocations: 55.7 kB / 1.292 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.4015, allocations: 20 kB / 1.292 GB, free: 10.02 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.0002008/0.4017, allocations: 159.5 kB / 1.292 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.4018, allocations: 31.8 kB / 1.292 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.979e-05/0.4019, allocations: 33.97 kB / 1.292 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4019, allocations: 4 kB / 1.292 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.4019, allocations: 0 / 1.292 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4019, allocations: 7.984 kB / 1.292 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003914/0.4023, allocations: 280.5 kB / 1.293 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4023, allocations: 0 / 1.293 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.4027, allocations: 71.91 kB / 1.293 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.4027, allocations: 3.938 kB / 1.293 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.4028, allocations: 15.98 kB / 1.293 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.4028, allocations: 0 / 1.293 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4028, allocations: 4 kB / 1.293 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.4039, allocations: 0.5861 MB / 1.293 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.404, allocations: 31.73 kB / 1.293 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.404, allocations: 16.05 kB / 1.293 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.4043, allocations: 28.16 kB / 1.293 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.4044, allocations: 63.84 kB / 1.293 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.4044, allocations: 27.92 kB / 1.293 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001267/0.4046, allocations: 125.2 kB / 1.294 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4046, allocations: 0 / 1.294 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003773/0.4049, allocations: 79.95 kB / 1.294 GB, free: 8.395 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.001673/0.4066, allocations: 1.143 MB / 1.295 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008347/0.4075, allocations: 371 kB / 1.295 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4075, allocations: 0 / 1.295 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.4079, allocations: 183 kB / 1.295 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.4082, allocations: 47.72 kB / 1.295 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004938/0.4132, allocations: 3.159 MB / 1.298 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.4134, allocations: 156.2 kB / 1.299 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.4135, allocations: 38.97 kB / 1.299 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.4137, allocations: 95.39 kB / 1.299 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of SimCode: time 1.363e-06/0.4137, allocations: 0 / 1.299 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04264/0.4564, allocations: 7.332 MB / 1.306 GB, free: 11.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.16, allocations: 9.469 kB / 1.306 GB, free: 11.87 MB / 1.014 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 420.0] 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: 19.005709386896342]