Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001676/0.001676, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001722/0.001722, allocations: 220.1 kB / 23.03 MB, free: 4.945 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.307/3.307, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001936/0.001936, allocations: 65.39 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3915, allocations: 179 MB / 1.345 GB, free: 15.9 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.005127/0.3966, allocations: 1.917 MB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.3986, allocations: 0.7051 MB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3987, allocations: 0 / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.376e-05/0.3988, allocations: 19.73 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.399, allocations: 47.52 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007874/0.3998, allocations: 167.7 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005718/0.4004, allocations: 331.1 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.4006, allocations: 41.14 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003372/0.4009, allocations: 151.5 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.4013, allocations: 151.4 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.525e-05/0.4013, allocations: 28 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.4014, allocations: 32 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.4016, allocations: 83.72 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.4018, allocations: 115.5 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.4023, allocations: 318.7 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4023, allocations: 0 / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4023, allocations: 0 / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.4023, allocations: 4 kB / 1.349 GB, free: 11.79 MB / 1.045 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.001969/0.4043, allocations: 0.5596 MB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.4044, allocations: 8.031 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.915e-05/0.4044, allocations: 12.62 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.594e-05/0.4045, allocations: 62.66 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005864/0.4051, allocations: 56.72 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.4056, allocations: 194.1 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005572/0.4062, allocations: 499.6 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.4063, allocations: 40.02 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008829/0.4072, allocations: 261.7 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.4072, allocations: 0 / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.4072, allocations: 11.98 kB / 1.351 GB, free: 9.918 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.4073, allocations: 4 kB / 1.351 GB, free: 9.914 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007782/0.408, allocations: 179.8 kB / 1.351 GB, free: 9.738 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.4098, allocations: 0.6832 MB / 1.352 GB, free: 9.004 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000838/0.4106, allocations: 197 kB / 1.352 GB, free: 8.785 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/0.4112, allocations: 130.5 kB / 1.352 GB, free: 8.648 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.425e-05/0.4113, allocations: 12.38 kB / 1.352 GB, free: 8.637 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009043/0.4122, allocations: 323 kB / 1.352 GB, free: 8.301 MB / 1.045 GB Notification: Performance of pre-optimization done (n=48): time 3.637e-06/0.4122, allocations: 0 / 1.352 GB, free: 8.301 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.001912/0.4141, allocations: 485.5 kB / 1.353 GB, free: 7.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.4142, allocations: 122.7 kB / 1.353 GB, free: 7.676 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.4145, allocations: 179.5 kB / 1.353 GB, free: 7.492 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/0.4146, allocations: 45.7 kB / 1.353 GB, free: 7.441 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.4147, allocations: 121.3 kB / 1.353 GB, free: 7.32 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.4149, allocations: 154.8 kB / 1.353 GB, free: 7.168 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.4152, allocations: 102.3 kB / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002273/0.4154, allocations: 346.7 kB / 1.354 GB, free: 6.715 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/0.416, allocations: 149.2 kB / 1.354 GB, free: 6.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006748/0.4167, allocations: 248.8 kB / 1.354 GB, free: 6.289 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.4179, allocations: 406 kB / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4179, allocations: 0 / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001599/0.4195, allocations: 493.2 kB / 1.355 GB, free: 5.367 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.4195, allocations: 8 kB / 1.355 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.4195, allocations: 4 kB / 1.355 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.4195, allocations: 4 kB / 1.355 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/0.4203, allocations: 99.83 kB / 1.355 GB, free: 5.254 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.4203, allocations: 4 kB / 1.355 GB, free: 5.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.4207, allocations: 55.75 kB / 1.355 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/0.4208, allocations: 27.92 kB / 1.355 GB, free: 5.168 MB / 1.045 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.0003178/0.4211, allocations: 163.4 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.4212, allocations: 31.75 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.4213, allocations: 37.89 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.4214, allocations: 8 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.4214, allocations: 4 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.4214, allocations: 0 / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/0.422, allocations: 284.4 kB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.422, allocations: 4 kB / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.4227, allocations: 71.89 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.4227, allocations: 7.938 kB / 1.356 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.4228, allocations: 15.98 kB / 1.356 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.29e-05/0.4228, allocations: 8.062 kB / 1.356 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4228, allocations: 0 / 1.356 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.4248, allocations: 0.5938 MB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.4248, allocations: 27.8 kB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.4249, allocations: 8 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.4253, allocations: 31.95 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.4255, allocations: 55.92 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.4256, allocations: 19.98 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001851/0.4258, allocations: 131.1 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4258, allocations: 4 kB / 1.357 GB, free: 3.594 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000607/0.4264, allocations: 83.95 kB / 1.357 GB, free: 3.512 MB / 1.045 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.002376/0.4287, allocations: 1.138 MB / 1.358 GB, free: 2.348 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.4301, allocations: 372.2 kB / 1.358 GB, free: 1.984 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4301, allocations: 0 / 1.358 GB, free: 1.984 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000679/0.4307, allocations: 184 kB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.4313, allocations: 31.98 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007105/0.4384, allocations: 3.207 MB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.4386, allocations: 164.1 kB / 1.362 GB, free: 14.22 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000268/0.4389, allocations: 43.23 kB / 1.362 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.4392, allocations: 99.39 kB / 1.362 GB, free: 14.09 MB / 1.061 GB Notification: Performance of SimCode: time 8.31e-07/0.4392, allocations: 0 / 1.362 GB, free: 14.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/0.4733, allocations: 7.068 MB / 1.369 GB, free: 7.227 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.55, allocations: 2.625 kB / 1.369 GB, free: 7.227 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart_fmu --startTime=100 --stopTime=900 --stepSize=0.32 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.658364493981935]