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.000793/0.000793, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0008139/0.0008139, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.8855/0.8855, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.662/1.662, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.9518 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.832e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001474/0.001503, allocations: 1.029 MB / 0.9528 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.002563, allocations: 1.14 MB / 0.9539 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.002629, allocations: 4 kB / 0.9539 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.136e-05/0.00267, allocations: 15.75 kB / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.536e-05/0.002755, allocations: 47.52 kB / 0.954 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.00314, allocations: 159.6 kB / 0.9541 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.003366, allocations: 339 kB / 0.9545 GB, free: 188 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.003494, allocations: 28.58 kB / 0.9545 GB, free: 156 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.003735, allocations: 211.5 kB / 0.9547 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.003867, allocations: 111.7 kB / 0.9548 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.003902, allocations: 28 kB / 0.9548 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 5.478e-05/0.003956, allocations: 32 kB / 0.9549 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.004006, allocations: 83.7 kB / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.00407, allocations: 99.78 kB / 0.955 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.004336, allocations: 346.9 kB / 0.9554 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004338, allocations: 0 / 0.9554 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.092e-06/0.00434, allocations: 0 / 0.9554 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.004344, allocations: 0 / 0.9554 GB, free: 15.26 MB / 0.9167 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.0008575/0.005202, allocations: 0.556 MB / 0.9559 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.005241, allocations: 12.03 kB / 0.9559 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.005431, allocations: 56.75 kB / 0.956 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.418e-05/0.005525, allocations: 142.2 kB / 0.9561 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.005737, allocations: 0.4919 MB / 0.9566 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.005779, allocations: 36.33 kB / 0.9566 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.006109, allocations: 259.1 kB / 0.9569 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.006125, allocations: 4.188 kB / 0.9569 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.006143, allocations: 4.375 kB / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.006152, allocations: 12.12 kB / 0.9569 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.006406, allocations: 175.8 kB / 0.9571 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.007097, allocations: 0.6564 MB / 0.9577 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.007433, allocations: 199.7 kB / 0.9579 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.007586, allocations: 126.7 kB / 0.958 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.007622, allocations: 7.984 kB / 0.958 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003576/0.00798, allocations: 316 kB / 0.9583 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=48): time 1.964e-06/0.007982, allocations: 4 kB / 0.9583 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=48): time 0.0006797/0.008661, allocations: 487.9 kB / 0.9588 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.008726, allocations: 115.2 kB / 0.9589 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.008844, allocations: 176.1 kB / 0.9591 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.008873, allocations: 37.7 kB / 0.9591 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.008937, allocations: 121.3 kB / 0.9592 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.033e-05/0.009028, allocations: 154.8 kB / 0.9594 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.579e-05/0.009124, allocations: 106.3 kB / 0.9595 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.009225, allocations: 342.8 kB / 0.9598 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.009414, allocations: 149.2 kB / 0.9599 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.009642, allocations: 252.8 kB / 0.9602 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.01004, allocations: 394 kB / 0.9605 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01005, allocations: 0 / 0.9605 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005065/0.01055, allocations: 0.4936 MB / 0.961 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.01057, allocations: 4 kB / 0.961 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01058, allocations: 4 kB / 0.961 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.01059, allocations: 4 kB / 0.961 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.01079, allocations: 99.81 kB / 0.9611 GB, free: 8.914 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.0108, allocations: 11.88 kB / 0.9611 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.01092, allocations: 55.75 kB / 0.9612 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.01094, allocations: 24 kB / 0.9612 GB, free: 8.824 MB / 0.9167 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.0001119/0.01106, allocations: 155.7 kB / 0.9614 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.01108, allocations: 31.8 kB / 0.9614 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.01113, allocations: 29.97 kB / 0.9614 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01113, allocations: 4 kB / 0.9614 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01114, allocations: 7.938 kB / 0.9614 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.01114, allocations: 7.922 kB / 0.9614 GB, free: 8.574 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.01132, allocations: 233.1 kB / 0.9617 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01132, allocations: 4 kB / 0.9617 GB, free: 8.312 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.01152, allocations: 75.89 kB / 0.9617 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01152, allocations: 0 / 0.9617 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.01155, allocations: 16 kB / 0.9618 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.01155, allocations: 11.98 kB / 0.9618 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01155, allocations: 0 / 0.9618 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006844/0.01224, allocations: 0.5839 MB / 0.9623 GB, free: 7.602 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.01226, allocations: 35.75 kB / 0.9624 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.01229, allocations: 8 kB / 0.9624 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.821e-05/0.01239, allocations: 32.05 kB / 0.9624 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.01247, allocations: 59.83 kB / 0.9625 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.01249, allocations: 12 kB / 0.9625 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003456/0.01284, allocations: 129.1 kB / 0.9626 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01284, allocations: 0 / 0.9626 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002077/0.01304, allocations: 83.94 kB / 0.9627 GB, free: 7.25 MB / 0.9167 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.0001028/0.01315, allocations: 121.9 kB / 0.9628 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004388/0.01359, allocations: 353.2 kB / 0.9631 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.01359, allocations: 4 kB / 0.9631 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.01379, allocations: 171.7 kB / 0.9633 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.01403, allocations: 49.61 kB / 0.9634 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007196/0.01475, allocations: 0.6062 MB / 0.9639 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.295e-05/0.01484, allocations: 156.2 kB / 0.9641 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.01494, allocations: 36.48 kB / 0.9641 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.01494, allocations: 0 / 0.9641 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of Templates: time 0.003915/0.01885, allocations: 4.078 MB / 0.9681 GB, free: 1.652 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 6.448010454885662]