Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001377/0.001377, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001521/0.001521, allocations: 156.2 kB / 23.01 MB, free: 4.949 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.509/1.509, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.708/2.708, allocations: 359.1 MB / 0.6044 GB, free: 14.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002195/0.002195, allocations: 67.91 kB / 0.9516 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3479, allocations: 169.9 MB / 1.118 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00273/0.3507, allocations: 1.022 MB / 1.119 GB, free: 1.508 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3525, allocations: 1.135 MB / 1.12 GB, free: 368 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.3527, allocations: 4 kB / 1.12 GB, free: 364 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.416e-05/0.3527, allocations: 15.75 kB / 1.12 GB, free: 348 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.3529, allocations: 39.58 kB / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.3535, allocations: 147.8 kB / 1.12 GB, free: 160 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.354, allocations: 339 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.3542, allocations: 40.5 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/0.3546, allocations: 139.6 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.3549, allocations: 135.4 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.09e-05/0.3549, allocations: 28 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.861e-05/0.355, allocations: 32 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.305e-05/0.3551, allocations: 79.78 kB / 1.121 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.3553, allocations: 119.5 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.3557, allocations: 322.7 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3557, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3557, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.3557, allocations: 3.938 kB / 1.121 GB, free: 14.94 MB / 1.076 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.001482/0.3572, allocations: 0.5522 MB / 1.122 GB, free: 14.35 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3573, allocations: 12.03 kB / 1.122 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003822/0.3576, allocations: 64.7 kB / 1.122 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.3578, allocations: 147 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004303/0.3583, allocations: 0.4919 MB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.851e-05/0.3583, allocations: 24.38 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.3589, allocations: 263.1 kB / 1.123 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.3589, allocations: 11.89 kB / 1.123 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.3589, allocations: 4 kB / 1.123 GB, free: 13.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.3589, allocations: 8 kB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.3594, allocations: 175.8 kB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.3605, allocations: 0.6525 MB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.3611, allocations: 195.7 kB / 1.124 GB, free: 12.1 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.3613, allocations: 130.5 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.3614, allocations: 7.984 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006136/0.362, allocations: 316.1 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=48): time 3.195e-06/0.362, allocations: 0 / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.001104/0.3631, allocations: 494.6 kB / 1.124 GB, free: 11.14 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/0.3632, allocations: 122.7 kB / 1.125 GB, free: 11 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3634, allocations: 179.5 kB / 1.125 GB, free: 10.81 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.3634, allocations: 37.7 kB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.3635, allocations: 121.3 kB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.3637, allocations: 158.7 kB / 1.125 GB, free: 10.49 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.3638, allocations: 102.3 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.364, allocations: 342.8 kB / 1.125 GB, free: 10.04 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.3643, allocations: 145.2 kB / 1.126 GB, free: 9.898 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.3647, allocations: 252.8 kB / 1.126 GB, free: 9.613 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/0.3654, allocations: 406 kB / 1.126 GB, free: 9.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3654, allocations: 0 / 1.126 GB, free: 9.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009361/0.3664, allocations: 485.2 kB / 1.127 GB, free: 8.699 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3664, allocations: 4 kB / 1.127 GB, free: 8.695 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3664, allocations: 7.984 kB / 1.127 GB, free: 8.688 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.3664, allocations: 7.938 kB / 1.127 GB, free: 8.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.3668, allocations: 99.83 kB / 1.127 GB, free: 8.582 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/0.3668, allocations: 4 kB / 1.127 GB, free: 8.578 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.3671, allocations: 63.7 kB / 1.127 GB, free: 8.516 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.3672, allocations: 16 kB / 1.127 GB, free: 8.5 MB / 1.076 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.000195/0.3674, allocations: 167.6 kB / 1.127 GB, free: 8.324 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.3674, allocations: 23.86 kB / 1.127 GB, free: 8.301 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.3675, allocations: 33.91 kB / 1.127 GB, free: 8.273 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.3675, allocations: 11.98 kB / 1.127 GB, free: 8.262 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.3675, allocations: 4 kB / 1.127 GB, free: 8.258 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3675, allocations: 0 / 1.127 GB, free: 8.258 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.3679, allocations: 241 kB / 1.127 GB, free: 7.992 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3679, allocations: 3.938 kB / 1.127 GB, free: 7.988 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.3683, allocations: 75.89 kB / 1.127 GB, free: 7.914 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3683, allocations: 0 / 1.127 GB, free: 7.914 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.3683, allocations: 15.98 kB / 1.127 GB, free: 7.898 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.3683, allocations: 3.938 kB / 1.127 GB, free: 7.895 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3683, allocations: 0 / 1.127 GB, free: 7.895 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.3695, allocations: 0.5839 MB / 1.128 GB, free: 7.293 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.3695, allocations: 31.8 kB / 1.128 GB, free: 7.262 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.3696, allocations: 8.094 kB / 1.128 GB, free: 7.254 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.3698, allocations: 39.92 kB / 1.128 GB, free: 7.215 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.37, allocations: 63.89 kB / 1.128 GB, free: 7.152 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.37, allocations: 16.06 kB / 1.128 GB, free: 7.137 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001175/0.3701, allocations: 133.1 kB / 1.128 GB, free: 7.008 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3701, allocations: 0 / 1.128 GB, free: 7.008 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003779/0.3705, allocations: 87.89 kB / 1.128 GB, free: 6.922 MB / 1.076 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.0001882/0.3707, allocations: 111.7 kB / 1.128 GB, free: 6.801 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000831/0.3715, allocations: 364.5 kB / 1.129 GB, free: 6.441 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.3715, allocations: 4 kB / 1.129 GB, free: 6.438 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.3719, allocations: 179.8 kB / 1.129 GB, free: 6.262 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.3723, allocations: 35.97 kB / 1.129 GB, free: 6.227 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.3736, allocations: 0.6364 MB / 1.13 GB, free: 5.559 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.3737, allocations: 148.4 kB / 1.13 GB, free: 5.391 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.3739, allocations: 42.95 kB / 1.13 GB, free: 5.352 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.374, allocations: 44.44 kB / 1.13 GB, free: 5.309 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.374, allocations: 0 / 1.13 GB, free: 5.309 MB / 1.076 GB Notification: Performance of Templates: time 0.009377/0.3834, allocations: 3.998 MB / 1.134 GB, free: 1.383 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.098011371097527]