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.001873/0.001873, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002245/0.002245, allocations: 212.8 kB / 22.24 MB, free: 5.121 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.662/1.662, allocations: 230.6 MB / 256 MB, free: 7.746 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.443/3.443, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.002088/0.002088, allocations: 71.7 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4753, allocations: 176.1 MB / 1.326 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004413/0.4797, allocations: 1.912 MB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.4814, allocations: 0.6933 MB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.4817, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.033e-05/0.4818, allocations: 23.67 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.482, allocations: 39.58 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.4828, allocations: 187.6 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005848/0.4833, allocations: 335 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.4835, allocations: 36.86 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004076/0.484, allocations: 139.6 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.4843, allocations: 135.3 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.4844, allocations: 32 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.4845, allocations: 39.94 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.4846, allocations: 75.8 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.4848, allocations: 119.5 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.4853, allocations: 318.7 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4853, allocations: 4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4853, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.4853, allocations: 0 / 1.33 GB, free: 13.68 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.001535/0.4868, allocations: 0.5598 MB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4869, allocations: 12.03 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/0.4873, allocations: 56.72 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.4878, allocations: 194.1 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004376/0.4882, allocations: 495.6 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.981e-05/0.4883, allocations: 32.36 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.4888, allocations: 261.8 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.4889, allocations: 11.94 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.4889, allocations: 8 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.4889, allocations: 4 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.4894, allocations: 175.8 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.4906, allocations: 0.6525 MB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/0.4912, allocations: 195.7 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.4915, allocations: 128 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.721e-05/0.4915, allocations: 11.94 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00056/0.4921, allocations: 307.7 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 5.16e-06/0.4921, allocations: 4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.001183/0.4933, allocations: 499.8 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.4934, allocations: 118.8 kB / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.4936, allocations: 178.3 kB / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/0.4937, allocations: 37.7 kB / 1.333 GB, free: 9.477 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.4938, allocations: 121.3 kB / 1.333 GB, free: 9.355 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.4939, allocations: 154.8 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.4941, allocations: 106.3 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4943, allocations: 342.8 kB / 1.334 GB, free: 8.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.4947, allocations: 149.2 kB / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.4951, allocations: 252.7 kB / 1.334 GB, free: 8.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/0.4958, allocations: 394 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.4958, allocations: 0 / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009733/0.4967, allocations: 0.4893 MB / 1.335 GB, free: 7.402 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.4968, allocations: 7.938 kB / 1.335 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4968, allocations: 4.094 kB / 1.335 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.4968, allocations: 7.984 kB / 1.335 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.4972, allocations: 95.83 kB / 1.335 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.4972, allocations: 7.938 kB / 1.335 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.4975, allocations: 59.73 kB / 1.335 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.4976, allocations: 16.7 kB / 1.335 GB, free: 7.207 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.0002277/0.4978, allocations: 167.9 kB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-05/0.4979, allocations: 31.75 kB / 1.336 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.871e-05/0.498, allocations: 33.95 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.498, allocations: 8 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.498, allocations: 0 / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.498, allocations: 3.984 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.4984, allocations: 245.1 kB / 1.336 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.4984, allocations: 4 kB / 1.336 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.4988, allocations: 75.89 kB / 1.336 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.4988, allocations: 4 kB / 1.336 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.4988, allocations: 15.94 kB / 1.336 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.4988, allocations: 4 kB / 1.336 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4988, allocations: 0 / 1.336 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.5, allocations: 0.5861 MB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.5001, allocations: 31.73 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.5002, allocations: 15.94 kB / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.5004, allocations: 31.97 kB / 1.337 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.5005, allocations: 55.91 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.5006, allocations: 19.98 kB / 1.337 GB, free: 5.816 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001292/0.5007, allocations: 127.1 kB / 1.337 GB, free: 5.691 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.5007, allocations: 4 kB / 1.337 GB, free: 5.688 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003694/0.5011, allocations: 72 kB / 1.337 GB, free: 5.617 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.0002107/0.5013, allocations: 123.3 kB / 1.337 GB, free: 5.488 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008457/0.5021, allocations: 363.2 kB / 1.337 GB, free: 5.133 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5021, allocations: 0 / 1.337 GB, free: 5.133 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.5025, allocations: 184.8 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.5029, allocations: 53.81 kB / 1.338 GB, free: 4.902 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.5044, allocations: 0.6203 MB / 1.338 GB, free: 4.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.5045, allocations: 164.1 kB / 1.338 GB, free: 4.066 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.5047, allocations: 43.14 kB / 1.338 GB, free: 4.023 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.5048, allocations: 35.44 kB / 1.338 GB, free: 3.988 MB / 1.029 GB Notification: Performance of SimCode: time 1.052e-06/0.5048, allocations: 0 / 1.338 GB, free: 3.988 MB / 1.029 GB Notification: Performance of Templates: time 0.01122/0.5161, allocations: 4.259 MB / 1.343 GB, free: 15.8 MB / 1.045 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 10.074814332649112]