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.001342/0.001342, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.001449/0.001449, allocations: 156.5 kB / 23 MB, free: 4.949 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.472/1.472, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.798/2.798, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003755/0.003755, allocations: 63.89 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9778/0.9815, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002902/0.9845, allocations: 1.918 MB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.9855, allocations: 0.6964 MB / 1.157 GB, free: 31.52 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.9856, allocations: 10.94 kB / 1.157 GB, free: 31.52 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.698e-05/0.9857, allocations: 18.98 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.9858, allocations: 46.03 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.9863, allocations: 172.9 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.9865, allocations: 332.1 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.9867, allocations: 36.88 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.9869, allocations: 139 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.987, allocations: 130.9 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.9871, allocations: 28.28 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.673e-05/0.9871, allocations: 37.81 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.9872, allocations: 83.03 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.399e-05/0.9873, allocations: 117.8 kB / 1.158 GB, free: 30.98 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.9875, allocations: 313 kB / 1.158 GB, free: 30.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9875, allocations: 0 / 1.158 GB, free: 30.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9875, allocations: 3.938 kB / 1.158 GB, free: 30.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.9875, allocations: 0 / 1.158 GB, free: 30.86 MB / 1.076 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.001121/0.9887, allocations: 0.5713 MB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.9887, allocations: 8.812 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.9891, allocations: 55.55 kB / 1.159 GB, free: 30.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.9894, allocations: 191 kB / 1.159 GB, free: 30.28 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.9896, allocations: 0.4899 MB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.262e-05/0.9896, allocations: 27.06 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.9901, allocations: 265.3 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.9901, allocations: 10.73 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.9901, allocations: 9.891 kB / 1.16 GB, free: 29.56 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.9901, allocations: 2.688 kB / 1.16 GB, free: 29.56 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.9905, allocations: 182.3 kB / 1.16 GB, free: 29.5 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007932/0.9913, allocations: 0.6595 MB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.9918, allocations: 203.1 kB / 1.161 GB, free: 28.87 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.992, allocations: 123 kB / 1.161 GB, free: 28.81 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.992, allocations: 9.625 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004258/0.9925, allocations: 314.8 kB / 1.161 GB, free: 28.66 MB / 1.076 GB Notification: Performance of pre-optimization done (n=48): time 1.943e-06/0.9925, allocations: 0 / 1.161 GB, free: 28.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.0009427/0.9934, allocations: 487.9 kB / 1.161 GB, free: 28.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.9934, allocations: 116.6 kB / 1.162 GB, free: 28.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.9936, allocations: 189 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.9936, allocations: 44.52 kB / 1.162 GB, free: 28.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.9937, allocations: 125.6 kB / 1.162 GB, free: 28.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.9938, allocations: 149.7 kB / 1.162 GB, free: 27.95 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.9939, allocations: 109.2 kB / 1.162 GB, free: 27.89 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.994, allocations: 338.6 kB / 1.162 GB, free: 27.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.9943, allocations: 147.2 kB / 1.163 GB, free: 27.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.9945, allocations: 252.2 kB / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.9951, allocations: 398.3 kB / 1.163 GB, free: 27.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.9951, allocations: 2.875 kB / 1.163 GB, free: 27.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007114/0.9958, allocations: 491.8 kB / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.9958, allocations: 10.47 kB / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.9958, allocations: 2.812 kB / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.9958, allocations: 5.781 kB / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.9962, allocations: 97.28 kB / 1.164 GB, free: 26.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.9962, allocations: 6.297 kB / 1.164 GB, free: 26.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.9965, allocations: 58.59 kB / 1.164 GB, free: 26.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.9965, allocations: 18.31 kB / 1.164 GB, free: 26.87 MB / 1.076 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.0001403/0.9966, allocations: 165.7 kB / 1.164 GB, free: 26.72 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.9967, allocations: 33.25 kB / 1.164 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.9968, allocations: 35.09 kB / 1.164 GB, free: 26.67 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.9968, allocations: 2.812 kB / 1.164 GB, free: 26.67 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.9968, allocations: 6.812 kB / 1.164 GB, free: 26.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.9968, allocations: 0 / 1.164 GB, free: 26.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.997, allocations: 241.5 kB / 1.164 GB, free: 26.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.997, allocations: 3.344 kB / 1.164 GB, free: 26.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.9974, allocations: 74.69 kB / 1.164 GB, free: 26.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.9974, allocations: 6.281 kB / 1.164 GB, free: 26.46 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.9975, allocations: 23.72 kB / 1.164 GB, free: 26.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.9975, allocations: 2.5 kB / 1.164 GB, free: 26.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9975, allocations: 2.219 kB / 1.164 GB, free: 26.45 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009174/0.9984, allocations: 0.5886 MB / 1.165 GB, free: 26.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.9984, allocations: 30.94 kB / 1.165 GB, free: 26.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.9984, allocations: 10.72 kB / 1.165 GB, free: 26.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.9987, allocations: 34.58 kB / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.9988, allocations: 57.31 kB / 1.165 GB, free: 26.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.9988, allocations: 17.67 kB / 1.165 GB, free: 26.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.728e-05/0.9989, allocations: 138.3 kB / 1.165 GB, free: 26.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9989, allocations: 4 kB / 1.165 GB, free: 26.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003167/0.9992, allocations: 74.19 kB / 1.165 GB, free: 26.01 MB / 1.076 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.0001313/0.9993, allocations: 115.8 kB / 1.165 GB, free: 25.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006771/1, allocations: 364 kB / 1.166 GB, free: 25.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1, allocations: 2.906 kB / 1.166 GB, free: 25.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/1, allocations: 189.2 kB / 1.166 GB, free: 25.74 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/1.001, allocations: 44.2 kB / 1.166 GB, free: 25.72 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/1.002, allocations: 0.6192 MB / 1.167 GB, free: 25.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.158e-05/1.002, allocations: 162.4 kB / 1.167 GB, free: 25.25 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001368/1.002, allocations: 38.19 kB / 1.167 GB, free: 25.24 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/1.002, allocations: 37.06 kB / 1.167 GB, free: 25.22 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/1.002, allocations: 0 / 1.167 GB, free: 25.22 MB / 1.076 GB Notification: Performance of Templates: time 0.008285/1.01, allocations: 4.04 MB / 1.171 GB, free: 24.79 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.205303169088438]