Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.001742/0.001742, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002228/0.002228, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.607/1.607, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 3.003/3.003, allocations: 476.7 MB / 0.7678 GB, free: 9.371 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_nonZeroStart,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",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.002119/0.002119, allocations: 68.19 kB / 1.113 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185/1.187, allocations: 169.9 MB / 1.279 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003902/1.191, allocations: 2.002 MB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001535/1.193, allocations: 0.7487 MB / 1.282 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/1.193, allocations: 6.156 kB / 1.282 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.933e-05/1.193, allocations: 18.05 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001694/1.193, allocations: 45.33 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/1.194, allocations: 168.3 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005536/1.194, allocations: 337 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/1.194, allocations: 36.23 kB / 1.282 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/1.195, allocations: 140 kB / 1.282 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/1.195, allocations: 151.8 kB / 1.283 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/1.195, allocations: 30.72 kB / 1.283 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.053e-05/1.195, allocations: 31.91 kB / 1.283 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/1.195, allocations: 83.77 kB / 1.283 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/1.195, allocations: 132.4 kB / 1.283 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004949/1.196, allocations: 317.3 kB / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.196, allocations: 5.344 kB / 1.283 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.196, allocations: 0 / 1.283 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.286e-06/1.196, allocations: 0 / 1.283 GB, free: 8.973 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.001529/1.197, allocations: 0.6416 MB / 1.284 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.197, allocations: 9.344 kB / 1.284 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.52e-05/1.198, allocations: 5 kB / 1.284 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.7e-05/1.198, allocations: 60.47 kB / 1.284 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004359/1.198, allocations: 59.52 kB / 1.284 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/1.198, allocations: 248.7 kB / 1.284 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/1.199, allocations: 268 kB / 1.284 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.935e-05/1.199, allocations: 31.38 kB / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/1.199, allocations: 260.7 kB / 1.285 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/1.199, allocations: 9.016 kB / 1.285 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/1.2, allocations: 7.406 kB / 1.285 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/1.2, allocations: 5.469 kB / 1.285 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/1.2, allocations: 185.5 kB / 1.285 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/1.201, allocations: 0.7726 MB / 1.286 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/1.202, allocations: 191.8 kB / 1.286 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/1.202, allocations: 133.3 kB / 1.286 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/1.202, allocations: 8.312 kB / 1.286 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/1.203, allocations: 324.4 kB / 1.286 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=48): time 2.054e-06/1.203, allocations: 0 / 1.286 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.001229/1.204, allocations: 491.1 kB / 1.287 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.777e-05/1.204, allocations: 118.2 kB / 1.287 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/1.204, allocations: 185.2 kB / 1.287 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/1.205, allocations: 41.73 kB / 1.287 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/1.205, allocations: 115.5 kB / 1.287 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/1.205, allocations: 161.9 kB / 1.287 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/1.205, allocations: 106.9 kB / 1.287 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002037/1.205, allocations: 340 kB / 1.288 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/1.205, allocations: 152.6 kB / 1.288 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/1.206, allocations: 250.6 kB / 1.288 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007748/1.207, allocations: 398.6 kB / 1.288 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.207, allocations: 1.531 kB / 1.288 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001049/1.208, allocations: 491 kB / 1.289 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/1.208, allocations: 6.688 kB / 1.289 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.208, allocations: 2.531 kB / 1.289 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/1.208, allocations: 5.375 kB / 1.289 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/1.208, allocations: 100.4 kB / 1.289 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/1.208, allocations: 6.688 kB / 1.289 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/1.209, allocations: 62.09 kB / 1.289 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/1.209, allocations: 23.66 kB / 1.289 GB, free: 4.934 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.0002691/1.209, allocations: 162.1 kB / 1.289 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.411e-05/1.209, allocations: 34.69 kB / 1.289 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/1.209, allocations: 31.41 kB / 1.289 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/1.209, allocations: 15.72 kB / 1.289 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/1.209, allocations: 0 / 1.289 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.209, allocations: 4.016 kB / 1.289 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006273/1.21, allocations: 355.3 kB / 1.29 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.21, allocations: 1.031 kB / 1.29 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/1.21, allocations: 74.83 kB / 1.29 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/1.21, allocations: 2.781 kB / 1.29 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/1.21, allocations: 10.88 kB / 1.29 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/1.21, allocations: 2.344 kB / 1.29 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.21, allocations: 1.094 kB / 1.29 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/1.212, allocations: 0.5893 MB / 1.29 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/1.212, allocations: 106.8 kB / 1.29 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/1.212, allocations: 7.844 kB / 1.291 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/1.212, allocations: 37.77 kB / 1.291 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/1.213, allocations: 56.7 kB / 1.291 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/1.213, allocations: 22.03 kB / 1.291 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001913/1.213, allocations: 131.5 kB / 1.291 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.213, allocations: 1.5 kB / 1.291 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005041/1.213, allocations: 75.92 kB / 1.291 GB, free: 3.914 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.001979/1.215, allocations: 1.165 MB / 1.292 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009816/1.216, allocations: 353.1 kB / 1.292 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.216, allocations: 1.344 kB / 1.292 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004418/1.217, allocations: 186.2 kB / 1.292 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/1.217, allocations: 46.83 kB / 1.293 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/1.223, allocations: 3.207 MB / 1.296 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/1.223, allocations: 0.7675 MB / 1.296 GB, free: 72 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002911/1.224, allocations: 38.31 kB / 1.296 GB, free: 64 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/1.224, allocations: 98.75 kB / 1.297 GB, free: 0 / 0.9981 GB Notification: Performance of SimCode: time 1.543e-06/1.224, allocations: 0 / 1.297 GB, free: 0 / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/1.256, allocations: 6.7 MB / 1.303 GB, free: 15.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.92/10.18, allocations: 17.02 kB / 1.303 GB, free: 15.31 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --stepSize=0.32 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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: 17.01142760098446]