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.00159/0.00159, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001792/0.001792, allocations: 215.6 kB / 23 MB, free: 4.609 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.345/3.345, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [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.002089/0.002089, allocations: 62.38 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.378, allocations: 180.2 MB / 1.354 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004445/0.3825, allocations: 1.992 MB / 1.356 GB, free: 5.859 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.3842, allocations: 0.7484 MB / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.3843, allocations: 4 kB / 1.357 GB, free: 5.102 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.288e-05/0.3844, allocations: 23.67 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.3845, allocations: 43.58 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.3852, allocations: 171.6 kB / 1.357 GB, free: 4.867 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.3857, allocations: 327.1 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.3859, allocations: 52.73 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.3862, allocations: 143.6 kB / 1.358 GB, free: 4.355 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.3865, allocations: 151.4 kB / 1.358 GB, free: 4.207 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.684e-05/0.3866, allocations: 32 kB / 1.358 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.542e-05/0.3867, allocations: 36 kB / 1.358 GB, free: 4.141 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3868, allocations: 83.72 kB / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.387, allocations: 127.4 kB / 1.358 GB, free: 3.934 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005077/0.3875, allocations: 318.7 kB / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3875, allocations: 0 / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3875, allocations: 0 / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.3876, allocations: 0 / 1.358 GB, free: 3.621 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.001694/0.3893, allocations: 0.5676 MB / 1.359 GB, free: 3.016 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3893, allocations: 8.031 kB / 1.359 GB, free: 3.008 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004686/0.3898, allocations: 60.7 kB / 1.359 GB, free: 2.949 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.3902, allocations: 186.2 kB / 1.359 GB, free: 2.742 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006689/0.3909, allocations: 499.6 kB / 1.36 GB, free: 2.145 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.548e-05/0.391, allocations: 32.33 kB / 1.36 GB, free: 2.113 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/0.3917, allocations: 273.8 kB / 1.36 GB, free: 1.828 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.3917, allocations: 0 / 1.36 GB, free: 1.828 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.3918, allocations: 12 kB / 1.36 GB, free: 1.816 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.3918, allocations: 4 kB / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006264/0.3924, allocations: 180.5 kB / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.394, allocations: 0.7455 MB / 1.361 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.3946, allocations: 191.7 kB / 1.361 GB, free: 0.625 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.3951, allocations: 130.5 kB / 1.361 GB, free: 500 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.3951, allocations: 8 kB / 1.361 GB, free: 492 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007604/0.3959, allocations: 311.6 kB / 1.361 GB, free: 156 kB / 1.045 GB Notification: Performance of pre-optimization done (n=48): time 2.424e-06/0.3959, allocations: 4 kB / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.001547/0.3974, allocations: 486.2 kB / 1.362 GB, free: 15.67 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.3975, allocations: 122.7 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.3978, allocations: 182.9 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.3978, allocations: 41.7 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3979, allocations: 125.3 kB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.3981, allocations: 154.8 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.3984, allocations: 106.3 kB / 1.363 GB, free: 14.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002624/0.3986, allocations: 338.8 kB / 1.363 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.3991, allocations: 149.2 kB / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.3997, allocations: 252.7 kB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009917/0.4007, allocations: 402 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4007, allocations: 0 / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00129/0.402, allocations: 496.9 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.402, allocations: 10.5 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.402, allocations: 0 / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.402, allocations: 8 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.4026, allocations: 99.83 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/0.4026, allocations: 11.98 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.403, allocations: 51.75 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.4031, allocations: 20 kB / 1.364 GB, free: 13.02 MB / 1.061 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.0002539/0.4033, allocations: 163.3 kB / 1.364 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/0.4034, allocations: 35.83 kB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.789e-05/0.4035, allocations: 41.95 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.4035, allocations: 4 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.4036, allocations: 0 / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.4036, allocations: 7.984 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.4041, allocations: 332.3 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4041, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.4047, allocations: 75.84 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.4047, allocations: 7.984 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.4048, allocations: 8 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4048, allocations: 0 / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4048, allocations: 8 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.4064, allocations: 0.586 MB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.4064, allocations: 27.73 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-05/0.4065, allocations: 15.98 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.4068, allocations: 31.97 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.407, allocations: 39.92 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.407, allocations: 16 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002269/0.4072, allocations: 131.1 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4072, allocations: 0 / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005815/0.4078, allocations: 83.95 kB / 1.366 GB, free: 11.34 MB / 1.061 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.0002009/0.408, allocations: 116.8 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.4091, allocations: 372.3 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4091, allocations: 0 / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.4097, allocations: 171.8 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.4102, allocations: 52.48 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.4119, allocations: 0.6552 MB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/0.4124, allocations: 0.7686 MB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.4127, allocations: 43.42 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of SimCode: time 6.21e-07/0.4127, allocations: 0 / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of Templates: time 0.009123/0.4218, allocations: 4.044 MB / 1.372 GB, free: 5.082 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 800] 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] "" Variables in the reference:time,sinInpNoDel.y,movAve1.y,movAve2.y,movAve3.y,movAve4.y,sinInp50sDel.y,movAve6.y,movAve7.y,sinInp100sDel.y,movAve8.y,movAve9.y Variables in the result:movAve1.y,movAve2.y,movAve3.y,movAve4.y,movAve6.y,movAve7.y,movAve8.y,movAve9.y,sinInp100sDel.y,sinInp50sDel.y,sinInpNoDel.y,time [Calling sys.exit(0), Time elapsed: 11.882185513997683]