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.001661/0.001661, allocations: 79.28 kB / 19.18 MB, free: 2.512 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.002037/0.002037, allocations: 165.4 kB / 22.46 MB, free: 5.379 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.535/1.535, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.806/2.806, allocations: 359 MB / 0.6037 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 176] 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_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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.9511 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.452e-05, allocations: 2.281 kB / 0.9511 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003298/0.003332, allocations: 1.919 MB / 0.9529 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.00467, allocations: 0.7134 MB / 0.9536 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.366e-05/0.004763, allocations: 4 kB / 0.9536 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.598e-05/0.004819, allocations: 23.67 kB / 0.9537 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.004953, allocations: 43.52 kB / 0.9537 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.005473, allocations: 183.5 kB / 0.9539 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.005854, allocations: 335 kB / 0.9542 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.005995, allocations: 36.91 kB / 0.9542 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.006323, allocations: 199.6 kB / 0.9544 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.006542, allocations: 111.7 kB / 0.9545 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.865e-05/0.0066, allocations: 35.98 kB / 0.9546 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.043e-05/0.006681, allocations: 32 kB / 0.9546 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.55e-05/0.006766, allocations: 83.7 kB / 0.9547 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.006883, allocations: 95.78 kB / 0.9548 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.00729, allocations: 339 kB / 0.9551 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.007293, allocations: 0 / 0.9551 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.52e-07/0.007294, allocations: 0 / 0.9551 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.0073, allocations: 7.938 kB / 0.9551 GB, free: 7.32 MB / 0.8575 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.001257/0.008558, allocations: 0.5637 MB / 0.9556 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.008597, allocations: 12.03 kB / 0.9556 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003459/0.008943, allocations: 60.72 kB / 0.9557 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.009278, allocations: 185.4 kB / 0.9559 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/0.009648, allocations: 0.4919 MB / 0.9564 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.009707, allocations: 28.33 kB / 0.9564 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.01025, allocations: 255.1 kB / 0.9566 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.01028, allocations: 16.11 kB / 0.9566 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.01031, allocations: 12.12 kB / 0.9567 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.01032, allocations: 4 kB / 0.9567 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/0.01078, allocations: 175.8 kB / 0.9568 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.01181, allocations: 0.6564 MB / 0.9575 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.01233, allocations: 203.7 kB / 0.9577 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.0126, allocations: 126.5 kB / 0.9578 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/0.01264, allocations: 7.984 kB / 0.9578 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005279/0.01317, allocations: 308.1 kB / 0.9581 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=48): time 1.984e-06/0.01317, allocations: 0 / 0.9581 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.001135/0.01431, allocations: 494.5 kB / 0.9586 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.01441, allocations: 114.8 kB / 0.9587 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.01458, allocations: 180.2 kB / 0.9588 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.01463, allocations: 41.7 kB / 0.9589 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.01472, allocations: 121.3 kB / 0.959 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.01487, allocations: 154.8 kB / 0.9591 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.01504, allocations: 102.3 kB / 0.9592 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.0152, allocations: 338.8 kB / 0.9596 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.01554, allocations: 153.2 kB / 0.9597 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.01593, allocations: 252.7 kB / 0.96 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/0.01662, allocations: 390.1 kB / 0.9603 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.01663, allocations: 0 / 0.9603 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009014/0.01753, allocations: 0.4899 MB / 0.9608 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01754, allocations: 4 kB / 0.9608 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.01755, allocations: 8 kB / 0.9608 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.01758, allocations: 4 kB / 0.9608 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.01799, allocations: 107.7 kB / 0.9609 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.01801, allocations: 7.984 kB / 0.9609 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.01829, allocations: 55.75 kB / 0.961 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.01833, allocations: 20 kB / 0.961 GB, free: 0.8438 MB / 0.8575 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.0001774/0.01851, allocations: 163.7 kB / 0.9612 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.01857, allocations: 31.8 kB / 0.9612 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.189e-05/0.01864, allocations: 30.06 kB / 0.9612 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.01865, allocations: 11.98 kB / 0.9612 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.01866, allocations: 3.938 kB / 0.9612 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.01866, allocations: 3.984 kB / 0.9612 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.01897, allocations: 233.1 kB / 0.9615 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01897, allocations: 0 / 0.9615 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.01938, allocations: 75.89 kB / 0.9615 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.01939, allocations: 4 kB / 0.9615 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.01943, allocations: 19.98 kB / 0.9616 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.01943, allocations: 4 kB / 0.9616 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01943, allocations: 80 / 0.9616 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.02059, allocations: 0.5937 MB / 0.9621 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.02062, allocations: 23.8 kB / 0.9622 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.02067, allocations: 12 kB / 0.9622 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.02091, allocations: 35.95 kB / 0.9622 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.02107, allocations: 59.86 kB / 0.9623 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.0211, allocations: 15.98 kB / 0.9623 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001131/0.02122, allocations: 136.3 kB / 0.9624 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7e-08/0.02122, allocations: 0 / 0.9624 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003378/0.02155, allocations: 83.89 kB / 0.9625 GB, free: 15.25 MB / 0.8731 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.0001769/0.02173, allocations: 123.2 kB / 0.9626 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007955/0.02253, allocations: 375.1 kB / 0.963 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02253, allocations: 0 / 0.963 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.02292, allocations: 176.8 kB / 0.9631 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.02327, allocations: 56.94 kB / 0.9632 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.0244, allocations: 0.5794 MB / 0.9638 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.02454, allocations: 156.3 kB / 0.9639 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.02468, allocations: 42.91 kB / 0.9639 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.0248, allocations: 40.44 kB / 0.964 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of SimCode: time 4.01e-07/0.0248, allocations: 0 / 0.964 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of Templates: time 0.008809/0.03361, allocations: 4.011 MB / 0.9679 GB, free: 9.727 MB / 0.8731 GB " [Timeout remaining time 300] 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 -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/jenkins/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.517827957868576]