Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001974/0.001974, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.00224/0.00224, allocations: 168.8 kB / 22.46 MB, free: 5.359 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.555/1.555, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.931/2.931, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.597e-06/3.597e-06, allocations: 0 / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.903e-05/4.263e-05, allocations: 6.219 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.005446/0.005488, allocations: 1.925 MB / 0.9834 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.007492, allocations: 0.6895 MB / 0.9841 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.007636, allocations: 4 kB / 0.9841 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.777e-05/0.007724, allocations: 31.61 kB / 0.9841 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.007938, allocations: 43.52 kB / 0.9841 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.008794, allocations: 175.6 kB / 0.9843 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006053/0.0094, allocations: 339 kB / 0.9846 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.009629, allocations: 40.84 kB / 0.9847 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004839/0.01011, allocations: 195.6 kB / 0.9849 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.01042, allocations: 123.6 kB / 0.985 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.166e-05/0.0105, allocations: 32 kB / 0.985 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.01062, allocations: 32 kB / 0.985 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.01075, allocations: 79.7 kB / 0.9851 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.01093, allocations: 103.7 kB / 0.9852 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.01157, allocations: 346.9 kB / 0.9855 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.01157, allocations: 0 / 0.9855 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.233e-06/0.01158, allocations: 0 / 0.9855 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.01158, allocations: 0 / 0.9855 GB, free: 7.773 MB / 0.9356 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.001801/0.01338, allocations: 0.5599 MB / 0.9861 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.01344, allocations: 11.97 kB / 0.9861 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005508/0.01399, allocations: 68.7 kB / 0.9862 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.01453, allocations: 189.2 kB / 0.9863 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005967/0.01513, allocations: 0.4919 MB / 0.9868 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.664e-05/0.01521, allocations: 24.38 kB / 0.9868 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008348/0.01605, allocations: 259.1 kB / 0.9871 GB, free: 6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.01609, allocations: 4.188 kB / 0.9871 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.01614, allocations: 8.125 kB / 0.9871 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.01616, allocations: 16 kB / 0.9871 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007362/0.01689, allocations: 175.8 kB / 0.9873 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.01868, allocations: 0.6524 MB / 0.9879 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007858/0.01947, allocations: 191.7 kB / 0.9881 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/0.01992, allocations: 138.4 kB / 0.9882 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.789e-05/0.01998, allocations: 8 kB / 0.9882 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008192/0.0208, allocations: 304.2 kB / 0.9885 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 2.986e-06/0.0208, allocations: 224 / 0.9885 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.001772/0.02257, allocations: 492.1 kB / 0.989 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.02271, allocations: 130.7 kB / 0.9891 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.02298, allocations: 180.4 kB / 0.9893 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.942e-05/0.02305, allocations: 37.7 kB / 0.9893 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.02318, allocations: 125.3 kB / 0.9895 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.0234, allocations: 158.8 kB / 0.9896 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.02364, allocations: 106.3 kB / 0.9897 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00026/0.0239, allocations: 338.8 kB / 0.99 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.02442, allocations: 145.2 kB / 0.9902 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/0.02509, allocations: 264.7 kB / 0.9904 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.02621, allocations: 386.1 kB / 0.9908 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.02621, allocations: 0 / 0.9908 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001543/0.02776, allocations: 493.7 kB / 0.9913 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.02778, allocations: 4 kB / 0.9913 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.02779, allocations: 7.938 kB / 0.9913 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.02782, allocations: 8 kB / 0.9913 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.02846, allocations: 103.7 kB / 0.9914 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.02848, allocations: 4 kB / 0.9914 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.02892, allocations: 59.73 kB / 0.9914 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.02898, allocations: 24 kB / 0.9915 GB, free: 1.281 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.0002795/0.02926, allocations: 155.7 kB / 0.9916 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.404e-05/0.02935, allocations: 27.81 kB / 0.9916 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.02948, allocations: 41.95 kB / 0.9917 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.02949, allocations: 4 kB / 0.9917 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.0295, allocations: 11.94 kB / 0.9917 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.02951, allocations: 7.984 kB / 0.9917 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.03001, allocations: 237 kB / 0.9919 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.03001, allocations: 4 kB / 0.9919 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006783/0.03069, allocations: 71.89 kB / 0.992 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.0307, allocations: 0 / 0.992 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.03075, allocations: 12 kB / 0.992 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.03076, allocations: 4 kB / 0.992 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.03076, allocations: 4 kB / 0.992 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.0326, allocations: 0.5955 MB / 0.9926 GB, free: 52 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.03265, allocations: 31.73 kB / 0.9926 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/0.03273, allocations: 8.094 kB / 0.9926 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.0331, allocations: 31.97 kB / 0.9927 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/0.03332, allocations: 63.83 kB / 0.9927 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/0.03337, allocations: 23.98 kB / 0.9928 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001731/0.03355, allocations: 127.2 kB / 0.9929 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03355, allocations: 0 / 0.9929 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000589/0.03414, allocations: 80 kB / 0.993 GB, free: 15.69 MB / 0.9512 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.0002437/0.03438, allocations: 119.2 kB / 0.9931 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.03563, allocations: 363.1 kB / 0.9934 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.03563, allocations: 0 / 0.9934 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006403/0.03627, allocations: 183.7 kB / 0.9936 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.03682, allocations: 40.09 kB / 0.9936 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.03869, allocations: 0.5871 MB / 0.9942 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.03892, allocations: 160.2 kB / 0.9944 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.03915, allocations: 38.95 kB / 0.9944 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.03938, allocations: 40.44 kB / 0.9944 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of SimCode: time 4.1e-07/0.03938, allocations: 3.938 kB / 0.9944 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of Templates: time 0.01406/0.05344, allocations: 4.015 MB / 0.9984 GB, free: 10.17 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.588053192943335]