Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001388/0.001388, allocations: 78.02 kB / 19.76 MB, free: 2.031 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.001478/0.001478, allocations: 156.8 kB / 23.01 MB, free: 4.945 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.488/1.488, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.793/2.793, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 176] 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_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_11_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_11_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.002067/0.002067, allocations: 71.89 kB / 0.9516 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3499, allocations: 169.9 MB / 1.118 GB, free: 2.461 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003672/0.3535, allocations: 1.92 MB / 1.119 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3549, allocations: 0.7013 MB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.355, allocations: 4 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.905e-05/0.3551, allocations: 23.67 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.3552, allocations: 39.58 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.3558, allocations: 179.6 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.3562, allocations: 327 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.3564, allocations: 40.92 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.3566, allocations: 139.6 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.3568, allocations: 135.3 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.3569, allocations: 32 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.64e-05/0.357, allocations: 36 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.3571, allocations: 75.73 kB / 1.121 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.3572, allocations: 115.5 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.3576, allocations: 318.8 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3576, allocations: 3.938 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3576, allocations: 3.938 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3576, allocations: 4 kB / 1.121 GB, free: 14.38 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.001389/0.359, allocations: 0.556 MB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3591, allocations: 16.02 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.3594, allocations: 56.72 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3598, allocations: 190.2 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/0.3602, allocations: 0.4918 MB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.3602, allocations: 32.33 kB / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.3608, allocations: 262.7 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.3609, allocations: 7.938 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.3609, allocations: 8 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.3609, allocations: 4 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.3614, allocations: 175.9 kB / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.3625, allocations: 0.6525 MB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.363, allocations: 199.6 kB / 1.124 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.3632, allocations: 122.5 kB / 1.124 GB, free: 11.36 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.3633, allocations: 8 kB / 1.124 GB, free: 11.36 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005419/0.3638, allocations: 316.5 kB / 1.124 GB, free: 11.03 MB / 1.076 GB Notification: Performance of pre-optimization done (n=48): time 1.843e-06/0.3638, allocations: 0 / 1.124 GB, free: 11.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.00114/0.365, allocations: 498.3 kB / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/0.3651, allocations: 118.8 kB / 1.125 GB, free: 10.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.3652, allocations: 183.5 kB / 1.125 GB, free: 10.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.3653, allocations: 37.7 kB / 1.125 GB, free: 10.17 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.3654, allocations: 121.3 kB / 1.125 GB, free: 10.05 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.3655, allocations: 150.8 kB / 1.126 GB, free: 9.898 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.3657, allocations: 106.3 kB / 1.126 GB, free: 9.789 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.3659, allocations: 346.8 kB / 1.126 GB, free: 9.441 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.3662, allocations: 149.2 kB / 1.126 GB, free: 9.297 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.3666, allocations: 256.7 kB / 1.126 GB, free: 9.008 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/0.3673, allocations: 394.1 kB / 1.127 GB, free: 8.586 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3673, allocations: 0 / 1.127 GB, free: 8.586 MB / 1.076 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008719/0.3682, allocations: 497.2 kB / 1.127 GB, free: 8.094 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3682, allocations: 7.938 kB / 1.127 GB, free: 8.086 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3682, allocations: 11.94 kB / 1.127 GB, free: 8.074 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.3683, allocations: 4 kB / 1.127 GB, free: 8.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.3686, allocations: 99.81 kB / 1.127 GB, free: 7.973 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3686, allocations: 4 kB / 1.127 GB, free: 7.969 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.3689, allocations: 63.69 kB / 1.127 GB, free: 7.906 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.369, allocations: 16 kB / 1.127 GB, free: 7.891 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.0001916/0.3691, allocations: 175.7 kB / 1.128 GB, free: 7.707 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.3692, allocations: 31.75 kB / 1.128 GB, free: 7.676 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.181e-05/0.3693, allocations: 29.97 kB / 1.128 GB, free: 7.652 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.3693, allocations: 8 kB / 1.128 GB, free: 7.645 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.3693, allocations: 0 / 1.128 GB, free: 7.645 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3693, allocations: 3.984 kB / 1.128 GB, free: 7.641 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.3697, allocations: 233.1 kB / 1.128 GB, free: 7.383 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3697, allocations: 0 / 1.128 GB, free: 7.383 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.3701, allocations: 75.89 kB / 1.128 GB, free: 7.309 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3701, allocations: 4 kB / 1.128 GB, free: 7.305 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.3701, allocations: 23.86 kB / 1.128 GB, free: 7.281 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3701, allocations: 4 kB / 1.128 GB, free: 7.277 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3701, allocations: 3.938 kB / 1.128 GB, free: 7.273 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.3713, allocations: 0.58 MB / 1.129 GB, free: 6.668 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.3713, allocations: 27.75 kB / 1.129 GB, free: 6.641 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.3714, allocations: 15.94 kB / 1.129 GB, free: 6.625 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.3716, allocations: 40.02 kB / 1.129 GB, free: 6.586 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.3717, allocations: 59.91 kB / 1.129 GB, free: 6.527 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.3718, allocations: 16 kB / 1.129 GB, free: 6.512 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001134/0.3719, allocations: 129 kB / 1.129 GB, free: 6.387 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3719, allocations: 7.938 kB / 1.129 GB, free: 6.379 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003313/0.3722, allocations: 79.95 kB / 1.129 GB, free: 6.301 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.0001714/0.3724, allocations: 119.1 kB / 1.129 GB, free: 6.172 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008063/0.3732, allocations: 360.6 kB / 1.129 GB, free: 5.824 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3732, allocations: 0 / 1.129 GB, free: 5.824 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.3736, allocations: 184.5 kB / 1.13 GB, free: 5.645 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3739, allocations: 43.98 kB / 1.13 GB, free: 5.602 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3752, allocations: 0.6285 MB / 1.13 GB, free: 4.941 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.3754, allocations: 168 kB / 1.13 GB, free: 4.75 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.3755, allocations: 38.97 kB / 1.13 GB, free: 4.711 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.3756, allocations: 40.48 kB / 1.13 GB, free: 4.668 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.3756, allocations: 0 / 1.13 GB, free: 4.668 MB / 1.076 GB Notification: Performance of Templates: time 0.009067/0.3847, allocations: 4.015 MB / 1.134 GB, free: 0.7227 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.992351188091561]