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.001304/0.001304, allocations: 110 kB / 18.94 MB, free: 2.953 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.002398/0.002398, allocations: 187.5 kB / 22.23 MB, free: 5.148 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.578/1.578, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 443.5 MB / 0.7322 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002683/0.002683, allocations: 67.89 kB / 1.062 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9795/0.9821, allocations: 160.8 MB / 1.219 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.003098/0.9852, allocations: 1.114 MB / 1.22 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.9872, allocations: 1.11 MB / 1.221 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.9873, allocations: 2.062 kB / 1.221 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.508e-05/0.9873, allocations: 19.69 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.9875, allocations: 48.69 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.988, allocations: 146.2 kB / 1.221 GB, free: 1.781 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.9884, allocations: 332.2 kB / 1.221 GB, free: 1.586 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.9885, allocations: 33.11 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.9887, allocations: 138.6 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.989, allocations: 151.5 kB / 1.222 GB, free: 1.375 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.989, allocations: 28.97 kB / 1.222 GB, free: 1.375 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.575e-05/0.9891, allocations: 29.81 kB / 1.222 GB, free: 1.375 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.413e-05/0.9892, allocations: 84.53 kB / 1.222 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.9893, allocations: 128.3 kB / 1.222 GB, free: 1.211 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.9897, allocations: 314.2 kB / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.9897, allocations: 9.141 kB / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9897, allocations: 0 / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.9897, allocations: 0 / 1.222 GB, free: 0.9688 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.001418/0.9912, allocations: 0.6338 MB / 1.223 GB, free: 432 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.9912, allocations: 9.312 kB / 1.223 GB, free: 432 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.8e-05/0.9913, allocations: 30.39 kB / 1.223 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.9915, allocations: 211.4 kB / 1.223 GB, free: 176 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.9918, allocations: 263.1 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-05/0.9919, allocations: 30.11 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.9925, allocations: 269.5 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.9925, allocations: 5.031 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.9925, allocations: 10.16 kB / 1.224 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.9925, allocations: 5.469 kB / 1.224 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.993, allocations: 174 kB / 1.224 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.9943, allocations: 0.7731 MB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/0.9949, allocations: 195.8 kB / 1.225 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.9952, allocations: 126.2 kB / 1.225 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.475e-05/0.9953, allocations: 10.3 kB / 1.225 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006895/0.9959, allocations: 309.7 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 1.853e-06/0.9959, allocations: 3.938 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.00119/0.9971, allocations: 495.4 kB / 1.226 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.9972, allocations: 119.7 kB / 1.226 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.9975, allocations: 171.1 kB / 1.226 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.9975, allocations: 42.77 kB / 1.226 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/0.9976, allocations: 120.7 kB / 1.226 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.9978, allocations: 149.2 kB / 1.226 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.9979, allocations: 110 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.9982, allocations: 336.9 kB / 1.227 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.9985, allocations: 145.7 kB / 1.227 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.999, allocations: 258.1 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/0.9997, allocations: 398.2 kB / 1.227 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.9997, allocations: 5.344 kB / 1.227 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009597/1.001, allocations: 490.9 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/1.001, allocations: 13.53 kB / 1.228 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.001, allocations: 3.281 kB / 1.228 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/1.001, allocations: 5.156 kB / 1.228 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/1.001, allocations: 94.17 kB / 1.228 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/1.001, allocations: 9.656 kB / 1.228 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/1.002, allocations: 60.98 kB / 1.228 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/1.002, allocations: 19.88 kB / 1.228 GB, free: 12.42 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.0002424/1.002, allocations: 170.3 kB / 1.228 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/1.002, allocations: 32.41 kB / 1.228 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/1.002, allocations: 38.39 kB / 1.228 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/1.002, allocations: 5.312 kB / 1.228 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/1.002, allocations: 1.094 kB / 1.228 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/1.002, allocations: 5.484 kB / 1.228 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/1.003, allocations: 348.6 kB / 1.229 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.003, allocations: 0.9688 kB / 1.229 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/1.003, allocations: 80.33 kB / 1.229 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1.003, allocations: 5.438 kB / 1.229 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/1.003, allocations: 16.77 kB / 1.229 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.003, allocations: 2.844 kB / 1.229 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.003, allocations: 1.344 kB / 1.229 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/1.004, allocations: 0.5862 MB / 1.229 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.603e-05/1.004, allocations: 105.1 kB / 1.229 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/1.004, allocations: 19.33 kB / 1.229 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/1.005, allocations: 28.19 kB / 1.229 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.005, allocations: 58.56 kB / 1.229 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/1.005, allocations: 18.62 kB / 1.229 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001185/1.005, allocations: 132 kB / 1.23 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.005, allocations: 0 / 1.23 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003724/1.005, allocations: 78.12 kB / 1.23 GB, free: 11.2 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.0002011/1.006, allocations: 119.1 kB / 1.23 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008497/1.006, allocations: 369 kB / 1.23 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.006, allocations: 0 / 1.23 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004606/1.007, allocations: 184.5 kB / 1.23 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/1.007, allocations: 54.28 kB / 1.23 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/1.009, allocations: 0.6185 MB / 1.231 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/1.009, allocations: 0.7648 MB / 1.232 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001638/1.009, allocations: 43.22 kB / 1.232 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/1.009, allocations: 35.44 kB / 1.232 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/1.009, allocations: 0 / 1.232 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of Templates: time 0.009603/1.019, allocations: 4.148 MB / 1.236 GB, free: 4.992 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.53934298735112]