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.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.001352/0.001352, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001607/0.001607, allocations: 192.4 kB / 22.17 MB, free: 5.652 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.585/1.585, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 71.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9914/0.9936, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002677/0.9963, allocations: 1.113 MB / 1.275 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.9978, allocations: 1.108 MB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.968e-05/0.9979, allocations: 0 / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.168e-05/0.998, allocations: 23.67 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.9981, allocations: 39.58 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.9986, allocations: 151.7 kB / 1.276 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000407/0.999, allocations: 335 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.9992, allocations: 32.39 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.9994, allocations: 143.5 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.9996, allocations: 147.5 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.9997, allocations: 28 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.422e-05/0.9997, allocations: 28 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.555e-05/0.9998, allocations: 75.73 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.9999, allocations: 143.3 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/1, allocations: 309.4 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/1, allocations: 0 / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.342e-06/1, allocations: 4 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.178e-05/1, allocations: 0 / 1.278 GB, free: 0.7266 MB / 0.9669 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.001384/1.002, allocations: 0.6375 MB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/1.002, allocations: 8.031 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.61e-05/1.002, allocations: 32.8 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/1.002, allocations: 197 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/1.002, allocations: 268.2 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/1.002, allocations: 24.38 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005369/1.003, allocations: 262.3 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/1.003, allocations: 15.88 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/1.003, allocations: 11.97 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/1.003, allocations: 4 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/1.003, allocations: 171.8 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/1.005, allocations: 0.7894 MB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/1.005, allocations: 199.7 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/1.005, allocations: 124.1 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/1.005, allocations: 8 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006076/1.006, allocations: 307.7 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 2.154e-06/1.006, allocations: 0 / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.00109/1.007, allocations: 487.6 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/1.007, allocations: 126.7 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/1.007, allocations: 176 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/1.008, allocations: 45.64 kB / 1.281 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/1.008, allocations: 117.3 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/1.008, allocations: 150.8 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/1.008, allocations: 106.3 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001818/1.008, allocations: 342.8 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/1.008, allocations: 145.2 kB / 1.282 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/1.009, allocations: 248.8 kB / 1.282 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007033/1.01, allocations: 402 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.01, allocations: 4 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000886/1.01, allocations: 489.2 kB / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.01, allocations: 19.88 kB / 1.283 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.01, allocations: 0 / 1.283 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/1.01, allocations: 8 kB / 1.283 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/1.011, allocations: 99.81 kB / 1.283 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/1.011, allocations: 8 kB / 1.283 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/1.011, allocations: 51.75 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/1.011, allocations: 20 kB / 1.284 GB, free: 10.3 MB / 0.9825 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.000212/1.011, allocations: 171.3 kB / 1.284 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/1.011, allocations: 31.75 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.48e-05/1.012, allocations: 33.88 kB / 1.284 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/1.012, allocations: 4 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.012, allocations: 0 / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.012, allocations: 8.062 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/1.012, allocations: 353.3 kB / 1.284 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.012, allocations: 4 kB / 1.284 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/1.012, allocations: 75.89 kB / 1.284 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.012, allocations: 3.938 kB / 1.284 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/1.012, allocations: 12 kB / 1.284 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/1.012, allocations: 4 kB / 1.284 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.012, allocations: 0 / 1.284 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/1.014, allocations: 0.5864 MB / 1.285 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.434e-05/1.014, allocations: 108.8 kB / 1.285 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/1.014, allocations: 15.92 kB / 1.285 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/1.014, allocations: 31.97 kB / 1.285 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/1.014, allocations: 55.92 kB / 1.285 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/1.014, allocations: 16 kB / 1.285 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001185/1.014, allocations: 133.1 kB / 1.285 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.014, allocations: 0 / 1.285 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000324/1.015, allocations: 80 kB / 1.285 GB, free: 8.492 MB / 0.9825 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.0002133/1.015, allocations: 119.2 kB / 1.285 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007889/1.016, allocations: 364.3 kB / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.016, allocations: 0 / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/1.016, allocations: 178.1 kB / 1.286 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/1.016, allocations: 54.28 kB / 1.286 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/1.018, allocations: 0.6521 MB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/1.018, allocations: 0.7608 MB / 1.287 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001517/1.018, allocations: 38.95 kB / 1.287 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/1.018, allocations: 35.44 kB / 1.287 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/1.018, allocations: 0 / 1.287 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of Templates: time 0.008575/1.027, allocations: 4.039 MB / 1.291 GB, free: 2.227 MB / 0.9825 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 cvode -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_2/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.401679505128413]