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.002147/0.002147, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002431/0.002431, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.498/1.498, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.16/3.16, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.002012/0.002012, allocations: 62.16 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3652, allocations: 174.9 MB / 1.316 GB, free: 9.641 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00236/0.3675, allocations: 1.112 MB / 1.317 GB, free: 8.527 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.369, allocations: 1.116 MB / 1.318 GB, free: 7.398 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.3691, allocations: 7.875 kB / 1.318 GB, free: 7.391 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.221e-05/0.3691, allocations: 15.75 kB / 1.318 GB, free: 7.375 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.3692, allocations: 39.58 kB / 1.318 GB, free: 7.336 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.3697, allocations: 159.6 kB / 1.318 GB, free: 7.18 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.3701, allocations: 323.1 kB / 1.319 GB, free: 6.863 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.3702, allocations: 44.42 kB / 1.319 GB, free: 6.816 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.3704, allocations: 131.6 kB / 1.319 GB, free: 6.688 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.3706, allocations: 147.4 kB / 1.319 GB, free: 6.543 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.224e-05/0.3707, allocations: 39.92 kB / 1.319 GB, free: 6.504 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.515e-05/0.3707, allocations: 28 kB / 1.319 GB, free: 6.477 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.3708, allocations: 75.8 kB / 1.319 GB, free: 6.402 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.3709, allocations: 139.4 kB / 1.319 GB, free: 6.266 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.3713, allocations: 306.8 kB / 1.32 GB, free: 5.965 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3713, allocations: 0 / 1.32 GB, free: 5.965 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3713, allocations: 0 / 1.32 GB, free: 5.965 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3713, allocations: 0 / 1.32 GB, free: 5.965 MB / 1.014 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.001278/0.3725, allocations: 0.5637 MB / 1.32 GB, free: 5.367 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3726, allocations: 8.031 kB / 1.32 GB, free: 5.359 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.3727, allocations: 32.75 kB / 1.32 GB, free: 5.328 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.3729, allocations: 140.2 kB / 1.32 GB, free: 5.164 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.3731, allocations: 268.3 kB / 1.321 GB, free: 4.848 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.69e-05/0.3732, allocations: 32.36 kB / 1.321 GB, free: 4.816 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.3737, allocations: 258.2 kB / 1.321 GB, free: 4.547 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.3737, allocations: 15.92 kB / 1.321 GB, free: 4.531 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.3738, allocations: 4 kB / 1.321 GB, free: 4.527 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3738, allocations: 4 kB / 1.321 GB, free: 4.523 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.3742, allocations: 176.7 kB / 1.321 GB, free: 4.352 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.3753, allocations: 0.7534 MB / 1.322 GB, free: 3.547 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/0.3758, allocations: 203.7 kB / 1.322 GB, free: 3.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.3761, allocations: 130.5 kB / 1.322 GB, free: 3.184 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.3761, allocations: 11.98 kB / 1.322 GB, free: 3.172 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005503/0.3767, allocations: 303.5 kB / 1.322 GB, free: 2.859 MB / 1.014 GB Notification: Performance of pre-optimization done (n=48): time 1.643e-06/0.3767, allocations: 7.938 kB / 1.322 GB, free: 2.852 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.001064/0.3777, allocations: 490.9 kB / 1.323 GB, free: 2.367 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/0.3778, allocations: 118.8 kB / 1.323 GB, free: 2.227 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.378, allocations: 175.6 kB / 1.323 GB, free: 2.043 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.3781, allocations: 41.69 kB / 1.323 GB, free: 1.996 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.828e-05/0.3782, allocations: 121.3 kB / 1.323 GB, free: 1.875 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.3783, allocations: 154.8 kB / 1.324 GB, free: 1.723 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.3785, allocations: 106.3 kB / 1.324 GB, free: 1.609 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3786, allocations: 342.8 kB / 1.324 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.379, allocations: 153.2 kB / 1.324 GB, free: 1.117 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.3794, allocations: 252.6 kB / 1.324 GB, free: 0.832 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.38, allocations: 394.1 kB / 1.325 GB, free: 420 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.38, allocations: 4 kB / 1.325 GB, free: 416 kB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008576/0.3809, allocations: 493.3 kB / 1.325 GB, free: 15.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3809, allocations: 11.94 kB / 1.325 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3809, allocations: 0 / 1.325 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.3809, allocations: 8 kB / 1.325 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.3813, allocations: 91.83 kB / 1.325 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.3813, allocations: 15.92 kB / 1.325 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.3816, allocations: 51.75 kB / 1.325 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.3816, allocations: 24 kB / 1.325 GB, free: 15.71 MB / 1.029 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.0001755/0.3818, allocations: 159.4 kB / 1.326 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.3818, allocations: 35.73 kB / 1.326 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.3819, allocations: 29.97 kB / 1.326 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.3819, allocations: 8 kB / 1.326 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3819, allocations: 0 / 1.326 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3819, allocations: 3.984 kB / 1.326 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.3823, allocations: 324.4 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.3823, allocations: 8 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.3827, allocations: 71.89 kB / 1.326 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.3827, allocations: 7.938 kB / 1.326 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.3827, allocations: 11.98 kB / 1.326 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3827, allocations: 4 kB / 1.326 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3827, allocations: 0 / 1.326 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.3838, allocations: 0.5925 MB / 1.327 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.3838, allocations: 31.84 kB / 1.327 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.3839, allocations: 15.92 kB / 1.327 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.3841, allocations: 35.95 kB / 1.327 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.3842, allocations: 59.91 kB / 1.327 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.3843, allocations: 16 kB / 1.327 GB, free: 14.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000101/0.3844, allocations: 125.2 kB / 1.327 GB, free: 14.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3844, allocations: 0 / 1.327 GB, free: 14.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003064/0.3847, allocations: 80 kB / 1.327 GB, free: 14.04 MB / 1.029 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.0001577/0.3848, allocations: 120.5 kB / 1.327 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000739/0.3856, allocations: 360.2 kB / 1.327 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3856, allocations: 0 / 1.327 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.3859, allocations: 191.8 kB / 1.328 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.3862, allocations: 50.23 kB / 1.328 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3874, allocations: 0.6067 MB / 1.328 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.3878, allocations: 0.7609 MB / 1.329 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001525/0.3879, allocations: 42.95 kB / 1.329 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.388, allocations: 35.44 kB / 1.329 GB, free: 11.82 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.388, allocations: 3.938 kB / 1.329 GB, free: 11.82 MB / 1.029 GB Notification: Performance of Templates: time 0.008714/0.3968, allocations: 4.148 MB / 1.333 GB, free: 7.695 MB / 1.029 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.366360559128225]