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.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.0007534/0.0007534, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007764/0.0007764, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8499/0.8499, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.761/1.761, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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,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 1.502e-06/1.502e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.061e-05, allocations: 5.234 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001333/0.001353, allocations: 1.022 MB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009541/0.002307, allocations: 1.14 MB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.002366, allocations: 3.938 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.002405, allocations: 19.73 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.161e-05/0.002487, allocations: 39.53 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.002835, allocations: 167.6 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.003052, allocations: 331 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.003163, allocations: 28.58 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.003375, allocations: 211.5 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.003495, allocations: 111.7 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.003527, allocations: 28 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.197e-05/0.003579, allocations: 32 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.003628, allocations: 83.7 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.293e-05/0.00369, allocations: 103.8 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.003943, allocations: 339 kB / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003945, allocations: 3.938 kB / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003946, allocations: 0 / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.00395, allocations: 0 / 1.005 GB, free: 9.285 MB / 0.9636 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.0007965/0.004747, allocations: 0.56 MB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.004779, allocations: 8.75 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.004956, allocations: 56.72 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.488e-05/0.005041, allocations: 142.3 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.005242, allocations: 0.4919 MB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.00528, allocations: 32.38 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.005604, allocations: 259.1 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.005621, allocations: 8.078 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.00564, allocations: 8.375 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.005647, allocations: 8.125 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.0059, allocations: 179.8 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.006546, allocations: 0.6486 MB / 1.007 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.006859, allocations: 201.7 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.007008, allocations: 126.5 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.007038, allocations: 8.219 kB / 1.007 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.007358, allocations: 320 kB / 1.007 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=48): time 1.844e-06/0.007359, allocations: 4 kB / 1.007 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of matching and sorting (n=48): time 0.000633/0.007992, allocations: 482.2 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.008039, allocations: 111.2 kB / 1.008 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.008141, allocations: 184.6 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.008167, allocations: 37.7 kB / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.008219, allocations: 125.2 kB / 1.008 GB, free: 5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/0.0083, allocations: 158.8 kB / 1.009 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.893e-05/0.008389, allocations: 106.3 kB / 1.009 GB, free: 4.73 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.224e-05/0.008471, allocations: 342.8 kB / 1.009 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.008652, allocations: 145.2 kB / 1.009 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.008876, allocations: 260.7 kB / 1.009 GB, free: 3.953 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.00927, allocations: 386.1 kB / 1.01 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.009273, allocations: 0 / 1.01 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005029/0.009776, allocations: 493.5 kB / 1.01 GB, free: 3.051 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.009791, allocations: 4 kB / 1.01 GB, free: 3.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.009798, allocations: 11.92 kB / 1.01 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.009812, allocations: 4 kB / 1.01 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.01, allocations: 95.83 kB / 1.01 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.01001, allocations: 7.938 kB / 1.01 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.01013, allocations: 63.64 kB / 1.01 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.01016, allocations: 28 kB / 1.01 GB, free: 2.84 MB / 0.9636 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.0001021/0.01026, allocations: 159.8 kB / 1.011 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.01028, allocations: 27.86 kB / 1.011 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.01032, allocations: 29.97 kB / 1.011 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.01033, allocations: 11.98 kB / 1.011 GB, free: 2.609 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01033, allocations: 0 / 1.011 GB, free: 2.609 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01034, allocations: 3.938 kB / 1.011 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.01051, allocations: 233.1 kB / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01051, allocations: 4 kB / 1.011 GB, free: 2.344 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.01071, allocations: 71.89 kB / 1.011 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01072, allocations: 4 kB / 1.011 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.01074, allocations: 20.05 kB / 1.011 GB, free: 2.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01074, allocations: 0 / 1.011 GB, free: 2.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01074, allocations: 7.938 kB / 1.011 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007268/0.01147, allocations: 0.5917 MB / 1.012 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.01149, allocations: 27.8 kB / 1.012 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.01152, allocations: 12 kB / 1.012 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.01162, allocations: 31.95 kB / 1.012 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.01169, allocations: 51.75 kB / 1.012 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.01171, allocations: 15.98 kB / 1.012 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.689e-05/0.01176, allocations: 124.2 kB / 1.012 GB, free: 1.367 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01176, allocations: 3.938 kB / 1.012 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002041/0.01197, allocations: 83.89 kB / 1.012 GB, free: 1.281 MB / 0.9636 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 9.01e-05/0.01206, allocations: 121.1 kB / 1.012 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.01249, allocations: 355.1 kB / 1.012 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.0125, allocations: 4.188 kB / 1.012 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.0127, allocations: 172.6 kB / 1.012 GB, free: 0.6406 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.01291, allocations: 49.64 kB / 1.013 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.0136, allocations: 0.5968 MB / 1.013 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.233e-05/0.01368, allocations: 164.1 kB / 1.013 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.01378, allocations: 32.5 kB / 1.013 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of SimCode: time 4.4e-07/0.01378, allocations: 0 / 1.013 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of Templates: time 0.00376/0.01754, allocations: 4.082 MB / 1.017 GB, free: 11.67 MB / 0.9792 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: 6.528058772906661]