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.001412/0.001412, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001379/0.001379, allocations: 215 kB / 20.13 MB, free: 2.949 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.599/1.599, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="cs",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.002134/0.002134, allocations: 70.38 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22/1.223, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00298/1.225, allocations: 1.114 MB / 1.28 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002139/1.228, allocations: 1.152 MB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/1.228, allocations: 2.219 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.696e-05/1.228, allocations: 17.16 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/1.228, allocations: 41.69 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/1.229, allocations: 157.5 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005076/1.229, allocations: 319.2 kB / 1.282 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/1.229, allocations: 38.22 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/1.23, allocations: 142.5 kB / 1.282 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/1.23, allocations: 148.5 kB / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/1.23, allocations: 29.44 kB / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/1.23, allocations: 32.25 kB / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/1.23, allocations: 84.34 kB / 1.282 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/1.231, allocations: 131.6 kB / 1.282 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005573/1.231, allocations: 329.1 kB / 1.283 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.231, allocations: 0 / 1.283 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.174e-06/1.231, allocations: 1.219 kB / 1.283 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.786e-06/1.231, allocations: 0 / 1.283 GB, free: 9.469 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.001546/1.233, allocations: 0.6337 MB / 1.283 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.233, allocations: 9.531 kB / 1.283 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.146e-05/1.233, allocations: 5.969 kB / 1.283 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.152e-05/1.233, allocations: 54.86 kB / 1.283 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003813/1.233, allocations: 60.67 kB / 1.283 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/1.233, allocations: 205.3 kB / 1.284 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003019/1.234, allocations: 267.9 kB / 1.284 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-05/1.234, allocations: 30.97 kB / 1.284 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/1.234, allocations: 261 kB / 1.284 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/1.235, allocations: 5.453 kB / 1.284 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/1.235, allocations: 8.156 kB / 1.284 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/1.235, allocations: 4.344 kB / 1.284 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/1.235, allocations: 185.7 kB / 1.284 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/1.237, allocations: 0.7745 MB / 1.285 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/1.237, allocations: 196.4 kB / 1.285 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/1.237, allocations: 128.5 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-05/1.237, allocations: 11.52 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007629/1.238, allocations: 311 kB / 1.286 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=48): time 2.906e-06/1.238, allocations: 1.031 kB / 1.286 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.001235/1.239, allocations: 491.5 kB / 1.286 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.24, allocations: 115 kB / 1.286 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/1.24, allocations: 176.8 kB / 1.286 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-05/1.24, allocations: 39.11 kB / 1.286 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/1.24, allocations: 120 kB / 1.287 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/1.24, allocations: 159.7 kB / 1.287 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/1.24, allocations: 103.7 kB / 1.287 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001994/1.241, allocations: 344.5 kB / 1.287 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/1.241, allocations: 146.4 kB / 1.287 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/1.241, allocations: 253.1 kB / 1.288 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007661/1.242, allocations: 407.6 kB / 1.288 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.242, allocations: 1.031 kB / 1.288 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001043/1.243, allocations: 495.6 kB / 1.288 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/1.243, allocations: 10.09 kB / 1.288 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.243, allocations: 3.781 kB / 1.288 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/1.243, allocations: 6.297 kB / 1.288 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/1.244, allocations: 95.31 kB / 1.289 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/1.244, allocations: 9.734 kB / 1.289 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/1.244, allocations: 57.94 kB / 1.289 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/1.244, allocations: 28.62 kB / 1.289 GB, free: 5.441 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.0002341/1.244, allocations: 154.1 kB / 1.289 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/1.244, allocations: 28.2 kB / 1.289 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.08e-05/1.244, allocations: 36.66 kB / 1.289 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/1.244, allocations: 5.969 kB / 1.289 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/1.244, allocations: 1.672 kB / 1.289 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/1.244, allocations: 3.328 kB / 1.289 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/1.245, allocations: 359.7 kB / 1.289 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/1.245, allocations: 0 / 1.289 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/1.245, allocations: 79.08 kB / 1.289 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/1.245, allocations: 3.297 kB / 1.289 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/1.245, allocations: 11.66 kB / 1.289 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.245, allocations: 2.5 kB / 1.289 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.245, allocations: 1.375 kB / 1.289 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/1.247, allocations: 0.5848 MB / 1.29 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/1.247, allocations: 107.2 kB / 1.29 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/1.247, allocations: 12.8 kB / 1.29 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/1.247, allocations: 36.91 kB / 1.29 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/1.247, allocations: 52.78 kB / 1.29 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/1.247, allocations: 17.83 kB / 1.29 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001354/1.247, allocations: 126.5 kB / 1.29 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.247, allocations: 1.188 kB / 1.29 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004066/1.248, allocations: 82.94 kB / 1.29 GB, free: 4.434 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.001746/1.25, allocations: 1.151 MB / 1.291 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008967/1.25, allocations: 369.1 kB / 1.292 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.25, allocations: 0 / 1.292 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000428/1.251, allocations: 179.9 kB / 1.292 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/1.251, allocations: 49.5 kB / 1.292 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/1.257, allocations: 3.167 MB / 1.295 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/1.257, allocations: 0.7643 MB / 1.296 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002205/1.257, allocations: 41.94 kB / 1.296 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/1.258, allocations: 92.69 kB / 1.296 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of SimCode: time 1.803e-06/1.258, allocations: 0 / 1.296 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/1.29, allocations: 6.616 MB / 1.302 GB, free: 15.83 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.748/10.04, allocations: 6.234 kB / 1.302 GB, free: 15.83 MB / 1.014 GB " [Timeout remaining time 290] (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: 16.766924038005527]