Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001244/0.001244, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001515/0.001515, allocations: 209.1 kB / 22.99 MB, free: 4.984 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.233/3.233, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: 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_12_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_12_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.002061/0.002061, allocations: 62.75 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3758, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003193/0.379, allocations: 1.916 MB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.3803, allocations: 0.6934 MB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-05/0.3804, allocations: 7.938 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.12e-05/0.3804, allocations: 19.73 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.3805, allocations: 47.52 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/0.3811, allocations: 175.7 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.3815, allocations: 327.1 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3816, allocations: 40.86 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.3818, allocations: 143.6 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.382, allocations: 155.3 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.81e-05/0.3821, allocations: 31.94 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.948e-05/0.3822, allocations: 36 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.3822, allocations: 75.8 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.3824, allocations: 119.5 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.3827, allocations: 322.7 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3827, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3827, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.3827, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 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.00128/0.384, allocations: 0.5598 MB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.3841, allocations: 8.031 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003379/0.3844, allocations: 68.7 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.3847, allocations: 182.2 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/0.3852, allocations: 0.4918 MB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.3853, allocations: 28.38 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.3858, allocations: 269.7 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.3858, allocations: 7.953 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.3859, allocations: 8 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.3859, allocations: 8 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.3863, allocations: 167.9 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.3874, allocations: 0.6486 MB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.3879, allocations: 203.7 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.3881, allocations: 126.5 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.3882, allocations: 8 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005361/0.3887, allocations: 315.7 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 1.804e-06/0.3887, allocations: 0 / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.001097/0.3898, allocations: 499.8 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/0.3899, allocations: 114.8 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.3901, allocations: 178.3 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.3901, allocations: 45.69 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.3902, allocations: 117.3 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.3903, allocations: 154.8 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.3905, allocations: 106.3 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3906, allocations: 342.8 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.391, allocations: 149.2 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003962/0.3914, allocations: 252.8 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006656/0.392, allocations: 398 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.392, allocations: 4 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009085/0.3929, allocations: 493.3 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.393, allocations: 11.94 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.393, allocations: 4.062 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.393, allocations: 12 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.3934, allocations: 95.81 kB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3934, allocations: 8 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.3937, allocations: 51.75 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.3937, allocations: 20 kB / 1.337 GB, free: 6.375 MB / 1.029 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.0001748/0.3939, allocations: 163.9 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.394, allocations: 39.75 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.55e-05/0.394, allocations: 29.97 kB / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.394, allocations: 4 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/0.3941, allocations: 4 kB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3941, allocations: 3.984 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.3944, allocations: 245 kB / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3944, allocations: 3.938 kB / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.3948, allocations: 71.89 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3948, allocations: 0 / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.3948, allocations: 23.92 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.3948, allocations: 7.938 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3949, allocations: 4 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.396, allocations: 0.5783 MB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.396, allocations: 31.75 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.3961, allocations: 15.94 kB / 1.338 GB, free: 5.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.3963, allocations: 31.95 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.3964, allocations: 55.95 kB / 1.338 GB, free: 5.004 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.3965, allocations: 19.98 kB / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001074/0.3966, allocations: 135.1 kB / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3966, allocations: 0 / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003454/0.3969, allocations: 76 kB / 1.339 GB, free: 4.777 MB / 1.029 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.0001478/0.3971, allocations: 111.2 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007725/0.3979, allocations: 366.6 kB / 1.339 GB, free: 4.301 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3979, allocations: 7.938 kB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.3982, allocations: 175.8 kB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3986, allocations: 43.41 kB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.3998, allocations: 0.6398 MB / 1.34 GB, free: 3.414 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.3999, allocations: 160.2 kB / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.4001, allocations: 38.95 kB / 1.34 GB, free: 3.191 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.4002, allocations: 39.42 kB / 1.34 GB, free: 3.152 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4002, allocations: 0 / 1.34 GB, free: 3.152 MB / 1.029 GB Notification: Performance of Templates: time 0.009001/0.4092, allocations: 4.322 MB / 1.344 GB, free: 14.89 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.184280175992171]