Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.73/2.73, allocations: 437 MB / 0.7177 GB, free: 4.82 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.89 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3492, allocations: 151.6 MB / 1.176 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002298/0.3516, allocations: 1.11 MB / 1.177 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.3531, allocations: 1.108 MB / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.3532, allocations: 8 kB / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.337e-05/0.3533, allocations: 15.75 kB / 1.178 GB, free: 3.582 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.3534, allocations: 35.59 kB / 1.178 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.3539, allocations: 151.7 kB / 1.178 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000355/0.3542, allocations: 335 kB / 1.179 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.3544, allocations: 44.39 kB / 1.179 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.3546, allocations: 131.6 kB / 1.179 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.3548, allocations: 147.4 kB / 1.179 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.3549, allocations: 28 kB / 1.179 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.804e-05/0.3549, allocations: 36 kB / 1.179 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.355, allocations: 83.72 kB / 1.179 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.3552, allocations: 131.4 kB / 1.179 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.3555, allocations: 310.8 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3555, allocations: 4 kB / 1.179 GB, free: 2.168 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3555, allocations: 0 / 1.179 GB, free: 2.168 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.3555, allocations: 0 / 1.179 GB, free: 2.168 MB / 0.92 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.001259/0.3568, allocations: 0.6312 MB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3568, allocations: 15.98 kB / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.3569, allocations: 32.73 kB / 1.18 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.3571, allocations: 200.9 kB / 1.18 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.3574, allocations: 268.3 kB / 1.181 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.3574, allocations: 36.27 kB / 1.181 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.3579, allocations: 254.3 kB / 1.181 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.358, allocations: 7.938 kB / 1.181 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.358, allocations: 4 kB / 1.181 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.358, allocations: 11.94 kB / 1.181 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.3585, allocations: 179.8 kB / 1.181 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.3596, allocations: 0.77 MB / 1.182 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.3602, allocations: 203.8 kB / 1.182 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.3604, allocations: 134.4 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.945e-05/0.3605, allocations: 15.98 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006188/0.3611, allocations: 311.8 kB / 1.182 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 1.984e-06/0.3611, allocations: 0 / 1.182 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.001073/0.3622, allocations: 495.5 kB / 1.183 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/0.3623, allocations: 114.8 kB / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.3625, allocations: 171.5 kB / 1.183 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.3625, allocations: 41.7 kB / 1.183 GB, free: 14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.3626, allocations: 125.3 kB / 1.183 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.3628, allocations: 154.8 kB / 1.183 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.3629, allocations: 106.3 kB / 1.184 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3631, allocations: 338.8 kB / 1.184 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.3634, allocations: 149.2 kB / 1.184 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.3638, allocations: 260.7 kB / 1.184 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/0.3645, allocations: 394.1 kB / 1.185 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3645, allocations: 0 / 1.185 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008953/0.3654, allocations: 497 kB / 1.185 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3654, allocations: 11.94 kB / 1.185 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3654, allocations: 4 kB / 1.185 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.3655, allocations: 7.938 kB / 1.185 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.3659, allocations: 103.8 kB / 1.185 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.3659, allocations: 4 kB / 1.185 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.3662, allocations: 59.73 kB / 1.185 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.3662, allocations: 20 kB / 1.185 GB, free: 11.71 MB / 0.9356 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.0001724/0.3664, allocations: 159.4 kB / 1.186 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.3664, allocations: 35.75 kB / 1.186 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.561e-05/0.3665, allocations: 33.86 kB / 1.186 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3665, allocations: 8 kB / 1.186 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3666, allocations: 0 / 1.186 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3666, allocations: 7.984 kB / 1.186 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.367, allocations: 357.2 kB / 1.186 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.367, allocations: 0 / 1.186 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.3674, allocations: 71.89 kB / 1.186 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3674, allocations: 3.938 kB / 1.186 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.3674, allocations: 19.98 kB / 1.186 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3674, allocations: 0 / 1.186 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3674, allocations: 0 / 1.186 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.3686, allocations: 0.5825 MB / 1.187 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.3686, allocations: 108.9 kB / 1.187 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.3687, allocations: 7.938 kB / 1.187 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.3689, allocations: 39.89 kB / 1.187 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3691, allocations: 43.95 kB / 1.187 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.3691, allocations: 11.98 kB / 1.187 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001021/0.3692, allocations: 129.2 kB / 1.187 GB, free: 10 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3692, allocations: 0 / 1.187 GB, free: 10 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003236/0.3695, allocations: 72 kB / 1.187 GB, free: 9.934 MB / 0.9356 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.0001976/0.3697, allocations: 136 kB / 1.187 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007728/0.3705, allocations: 380.5 kB / 1.187 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3705, allocations: 0 / 1.187 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.3709, allocations: 185.4 kB / 1.188 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.3712, allocations: 54.28 kB / 1.188 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.3724, allocations: 0.6461 MB / 1.188 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3728, allocations: 0.7608 MB / 1.189 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.373, allocations: 39.42 kB / 1.189 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.373, allocations: 3.938 kB / 1.189 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of Templates: time 0.006533/0.3795, allocations: 3.988 MB / 1.193 GB, free: 3.715 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.708199562039226]