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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007727/0.007727, allocations: 101.7 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 194.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.661/2.661, allocations: 469.8 MB / 0.7425 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.89 kB / 1.065 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8826/0.8839, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002261/0.8861, allocations: 1.113 MB / 1.222 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.8876, allocations: 1.1 MB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.8877, allocations: 3.938 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.59e-05/0.8877, allocations: 19.69 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.8878, allocations: 47.56 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.8883, allocations: 151.7 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004224/0.8888, allocations: 327.1 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.889, allocations: 36.33 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.8892, allocations: 135.6 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.8895, allocations: 147.5 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.8895, allocations: 43.86 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.626e-05/0.8896, allocations: 28 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.5e-05/0.8897, allocations: 71.8 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.8898, allocations: 135.4 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.8902, allocations: 311.3 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.8902, allocations: 0 / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8902, allocations: 0 / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.8902, allocations: 0 / 1.224 GB, free: 14.45 MB / 0.9512 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.001453/0.8917, allocations: 0.6351 MB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.8917, allocations: 8.031 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.8919, allocations: 32.8 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.892, allocations: 212.7 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.8923, allocations: 264.3 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.8924, allocations: 28.38 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.8929, allocations: 258.3 kB / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.893, allocations: 3.938 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.893, allocations: 16 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.893, allocations: 8 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.8934, allocations: 175.8 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.8946, allocations: 0.7778 MB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.895, allocations: 195.7 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.8953, allocations: 126.5 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.8953, allocations: 15.91 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005484/0.8959, allocations: 303.7 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 1.694e-06/0.8959, allocations: 0 / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.0009913/0.8969, allocations: 494.4 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.8969, allocations: 118.8 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.8971, allocations: 175.5 kB / 1.228 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.8971, allocations: 41.7 kB / 1.228 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.8972, allocations: 117.3 kB / 1.228 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.8973, allocations: 146.8 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.8974, allocations: 110.3 kB / 1.228 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.8976, allocations: 338.8 kB / 1.229 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.8978, allocations: 145.2 kB / 1.229 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.8982, allocations: 260.7 kB / 1.229 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.8988, allocations: 398 kB / 1.229 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.8988, allocations: 4 kB / 1.229 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008045/0.8996, allocations: 493.3 kB / 1.23 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.8996, allocations: 11.94 kB / 1.23 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.8996, allocations: 0 / 1.23 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.8996, allocations: 8 kB / 1.23 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.9, allocations: 91.83 kB / 1.23 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.9, allocations: 19.92 kB / 1.23 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.9003, allocations: 59.69 kB / 1.23 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.9003, allocations: 20 kB / 1.23 GB, free: 8.012 MB / 0.9512 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.0001734/0.9005, allocations: 156 kB / 1.23 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.9006, allocations: 35.73 kB / 1.23 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.46e-05/0.9006, allocations: 37.88 kB / 1.23 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.9006, allocations: 4.062 kB / 1.23 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.9007, allocations: 4 kB / 1.23 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.9007, allocations: 3.984 kB / 1.23 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.901, allocations: 353.2 kB / 1.231 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.9011, allocations: 4 kB / 1.231 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.9014, allocations: 67.91 kB / 1.231 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.9014, allocations: 7.938 kB / 1.231 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.9015, allocations: 15.98 kB / 1.231 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.9015, allocations: 4 kB / 1.231 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.9015, allocations: 0 / 1.231 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.9025, allocations: 0.5835 MB / 1.231 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.9026, allocations: 104.9 kB / 1.231 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.9026, allocations: 19.92 kB / 1.231 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.9028, allocations: 31.97 kB / 1.231 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.903, allocations: 55.94 kB / 1.232 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.903, allocations: 20.17 kB / 1.232 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.685e-05/0.9031, allocations: 125.2 kB / 1.232 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9031, allocations: 3.938 kB / 1.232 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003144/0.9034, allocations: 79.98 kB / 1.232 GB, free: 6.215 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.0001899/0.9036, allocations: 123.2 kB / 1.232 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007725/0.9044, allocations: 358.7 kB / 1.232 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9044, allocations: 0 / 1.232 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.9047, allocations: 180.4 kB / 1.232 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.9051, allocations: 58.95 kB / 1.232 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.9064, allocations: 0.6277 MB / 1.233 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.9067, allocations: 0.7647 MB / 1.234 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.9068, allocations: 43.23 kB / 1.234 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.907, allocations: 39.42 kB / 1.234 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of SimCode: time 7.61e-07/0.907, allocations: 4 kB / 1.234 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of Templates: time 0.00855/0.9155, allocations: 3.952 MB / 1.238 GB, free: 44 kB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) 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) Reference file matches