Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 111.5 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 193.2 kB / 20.03 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.015/3.015, allocations: 489.3 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 71.89 kB / 1.103 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186/1.188, allocations: 163.8 MB / 1.263 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002529/1.19, allocations: 1.118 MB / 1.264 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00184/1.192, allocations: 1.096 MB / 1.265 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/1.192, allocations: 2.406 kB / 1.265 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.32e-05/1.192, allocations: 21.84 kB / 1.265 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001803/1.193, allocations: 41.81 kB / 1.265 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007696/1.193, allocations: 156.5 kB / 1.265 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006463/1.194, allocations: 325.5 kB / 1.265 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/1.194, allocations: 50.5 kB / 1.265 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/1.195, allocations: 128 kB / 1.265 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/1.195, allocations: 149 kB / 1.266 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-05/1.195, allocations: 33.09 kB / 1.266 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-05/1.195, allocations: 29.06 kB / 1.266 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/1.195, allocations: 84.61 kB / 1.266 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000218/1.196, allocations: 131.1 kB / 1.266 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006642/1.196, allocations: 320 kB / 1.266 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.196, allocations: 0 / 1.266 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.857e-06/1.196, allocations: 0 / 1.266 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.196, allocations: 4.812 kB / 1.266 GB, free: 5.781 MB / 0.9981 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.00158/1.198, allocations: 0.6228 MB / 1.267 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.693e-05/1.198, allocations: 10.16 kB / 1.267 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/1.198, allocations: 34.33 kB / 1.267 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/1.198, allocations: 201.8 kB / 1.267 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/1.199, allocations: 270.5 kB / 1.267 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.86e-05/1.199, allocations: 28.23 kB / 1.267 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/1.199, allocations: 264.4 kB / 1.268 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/1.199, allocations: 6.578 kB / 1.268 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/1.199, allocations: 6.156 kB / 1.268 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/1.2, allocations: 5.031 kB / 1.268 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005431/1.2, allocations: 182.5 kB / 1.268 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/1.201, allocations: 0.7706 MB / 1.269 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006107/1.202, allocations: 206.4 kB / 1.269 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/1.202, allocations: 130 kB / 1.269 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.354e-05/1.203, allocations: 11.84 kB / 1.269 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008267/1.203, allocations: 320.4 kB / 1.269 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=48): time 2.395e-06/1.203, allocations: 0 / 1.269 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.001387/1.205, allocations: 486.6 kB / 1.27 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/1.205, allocations: 120.4 kB / 1.27 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/1.205, allocations: 177.1 kB / 1.27 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/1.205, allocations: 46.05 kB / 1.27 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/1.205, allocations: 121.4 kB / 1.27 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/1.205, allocations: 150.9 kB / 1.27 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/1.206, allocations: 111.1 kB / 1.27 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.206, allocations: 336.9 kB / 1.271 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/1.206, allocations: 145.3 kB / 1.271 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/1.207, allocations: 256 kB / 1.271 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000734/1.207, allocations: 396.1 kB / 1.271 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.207, allocations: 0.9375 kB / 1.271 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001001/1.208, allocations: 485.5 kB / 1.272 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/1.208, allocations: 14.53 kB / 1.272 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.208, allocations: 3.703 kB / 1.272 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/1.208, allocations: 10.59 kB / 1.272 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/1.209, allocations: 93.78 kB / 1.272 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/1.209, allocations: 9.453 kB / 1.272 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/1.209, allocations: 56.89 kB / 1.272 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/1.209, allocations: 19.84 kB / 1.272 GB, free: 1.836 MB / 0.9981 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.0001656/1.209, allocations: 179.6 kB / 1.272 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/1.209, allocations: 32.53 kB / 1.272 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.101e-05/1.209, allocations: 30.66 kB / 1.272 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/1.21, allocations: 5.5 kB / 1.272 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/1.21, allocations: 0.9688 kB / 1.272 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/1.21, allocations: 4.375 kB / 1.272 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/1.21, allocations: 347.9 kB / 1.273 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.21, allocations: 1.219 kB / 1.273 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/1.21, allocations: 73.81 kB / 1.273 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/1.21, allocations: 10.56 kB / 1.273 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/1.21, allocations: 15.16 kB / 1.273 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/1.21, allocations: 8.203 kB / 1.273 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.21, allocations: 0 / 1.273 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/1.212, allocations: 0.5823 MB / 1.273 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/1.212, allocations: 102.7 kB / 1.273 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/1.212, allocations: 17.58 kB / 1.273 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/1.212, allocations: 28.38 kB / 1.273 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.212, allocations: 37.56 kB / 1.273 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/1.212, allocations: 16.98 kB / 1.274 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001008/1.212, allocations: 126.6 kB / 1.274 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.212, allocations: 4 kB / 1.274 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003613/1.213, allocations: 83.12 kB / 1.274 GB, free: 0.8164 MB / 0.9981 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.0001757/1.213, allocations: 118.3 kB / 1.274 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008271/1.214, allocations: 379.7 kB / 1.274 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.214, allocations: 4 kB / 1.274 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/1.214, allocations: 181.1 kB / 1.274 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/1.214, allocations: 58.8 kB / 1.274 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/1.216, allocations: 0.654 MB / 1.275 GB, free: 88 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/1.216, allocations: 0.7659 MB / 1.276 GB, free: 15.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/1.216, allocations: 39.52 kB / 1.276 GB, free: 15.38 MB / 1.014 GB Notification: Performance of SimCode: time 2.11e-07/1.216, allocations: 0 / 1.276 GB, free: 15.38 MB / 1.014 GB Notification: Performance of Templates: time 0.00834/1.225, allocations: 3.991 MB / 1.28 GB, free: 15 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.21764919301495]