Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.001616/0.001616, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001458/0.001458, allocations: 215.9 kB / 23.01 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.147/3.147, allocations: 0.49 GB / 0.7958 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] 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,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") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,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") [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.002093/0.002093, allocations: 68.03 kB / 1.155 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3472, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002358/0.3495, allocations: 1.12 MB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3511, allocations: 1.155 MB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.3511, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.259e-05/0.3512, allocations: 19.75 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.3513, allocations: 43.52 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.3518, allocations: 151.7 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.3522, allocations: 331.1 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3523, allocations: 40.58 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.3526, allocations: 139.6 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.3528, allocations: 147.4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.3529, allocations: 32 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.3529, allocations: 32 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.34e-05/0.353, allocations: 75.8 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3531, allocations: 135.3 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.3536, allocations: 330.6 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3536, allocations: 0 / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3536, allocations: 4 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.3536, allocations: 0 / 1.331 GB, free: 13.71 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.001262/0.3548, allocations: 0.552 MB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3549, allocations: 12.03 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003372/0.3552, allocations: 56.72 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.3553, allocations: 147 kB / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000402/0.3557, allocations: 499.6 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.3558, allocations: 28.36 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.3563, allocations: 270.2 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.3563, allocations: 11.89 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.3564, allocations: 12 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3564, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.3568, allocations: 175.8 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.358, allocations: 0.7417 MB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.3585, allocations: 199.7 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.3587, allocations: 124 kB / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.3588, allocations: 11.98 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000586/0.3593, allocations: 311.7 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 1.844e-06/0.3594, allocations: 0 / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.001059/0.3604, allocations: 487.9 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.3605, allocations: 122.8 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.3607, allocations: 183.4 kB / 1.335 GB, free: 9.477 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.3607, allocations: 45.7 kB / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.3608, allocations: 109.4 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3609, allocations: 158.7 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.3611, allocations: 110.3 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3613, allocations: 334.8 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.3616, allocations: 149.2 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.362, allocations: 252.8 kB / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006936/0.3627, allocations: 402 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.3627, allocations: 0 / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009584/0.3636, allocations: 489.7 kB / 1.337 GB, free: 7.363 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.3637, allocations: 7.938 kB / 1.337 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3637, allocations: 4 kB / 1.337 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.3637, allocations: 4 kB / 1.337 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.3641, allocations: 95.83 kB / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.3641, allocations: 11.92 kB / 1.337 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.3644, allocations: 63.7 kB / 1.337 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.3645, allocations: 20.08 kB / 1.337 GB, free: 7.16 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.0002338/0.3647, allocations: 163.9 kB / 1.337 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.3648, allocations: 31.78 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.41e-05/0.3648, allocations: 30.03 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.3649, allocations: 8 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.3649, allocations: 4 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.3649, allocations: 3.984 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.3653, allocations: 324.3 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3653, allocations: 7.984 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.3657, allocations: 71.91 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.3657, allocations: 7.938 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.3658, allocations: 15.98 kB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.3658, allocations: 7.984 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3658, allocations: 0 / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.367, allocations: 0.5822 MB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.367, allocations: 23.8 kB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.3671, allocations: 19.92 kB / 1.338 GB, free: 5.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.3673, allocations: 27.97 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.3674, allocations: 39.94 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.3674, allocations: 19.98 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000136/0.3676, allocations: 121.2 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3676, allocations: 0 / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003628/0.3679, allocations: 87.94 kB / 1.338 GB, free: 5.504 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.0002399/0.3682, allocations: 116.1 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000795/0.369, allocations: 366.6 kB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.369, allocations: 0 / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003589/0.3693, allocations: 173.5 kB / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.3697, allocations: 45.22 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.3709, allocations: 0.6477 MB / 1.34 GB, free: 4.133 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.3713, allocations: 0.7648 MB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.3715, allocations: 35.44 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3715, allocations: 0 / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of Templates: time 0.006553/0.378, allocations: 3.993 MB / 1.344 GB, free: 15.33 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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: 11.269202041992685]