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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001467/0.001467, allocations: 201.6 kB / 22.17 MB, free: 5.211 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.566/1.566, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.874/2.874, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] 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=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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 79.88 kB / 1.109 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8196/0.8217, allocations: 168.7 MB / 1.274 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00232/0.824, allocations: 1.117 MB / 1.275 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.8254, allocations: 1.108 MB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.8255, allocations: 4 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.528e-05/0.8255, allocations: 19.69 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.8257, allocations: 43.56 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.8261, allocations: 151.8 kB / 1.277 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.8265, allocations: 327.1 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.8266, allocations: 32.39 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.8268, allocations: 135.5 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.8271, allocations: 155.4 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.8271, allocations: 28 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.572e-05/0.8272, allocations: 32 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.11e-05/0.8272, allocations: 75.8 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.8274, allocations: 135.4 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.8277, allocations: 317.4 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.8277, allocations: 0 / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8277, allocations: 0 / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.8277, allocations: 0 / 1.278 GB, free: 0.8086 MB / 0.9669 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.00134/0.8291, allocations: 0.6312 MB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.8291, allocations: 12.03 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.332e-05/0.8292, allocations: 32.73 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.8294, allocations: 204.9 kB / 1.279 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002368/0.8296, allocations: 268.2 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.214e-05/0.8297, allocations: 28.38 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005201/0.8302, allocations: 262.3 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.8302, allocations: 7.938 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.8303, allocations: 8 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.8303, allocations: 4 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.8307, allocations: 171.8 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.8319, allocations: 0.7854 MB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.8324, allocations: 199.7 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.8327, allocations: 124.1 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.8327, allocations: 11.98 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005829/0.8333, allocations: 303.7 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 1.853e-06/0.8333, allocations: 0 / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.001055/0.8344, allocations: 492.2 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.8344, allocations: 122.7 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.8346, allocations: 176 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.8346, allocations: 41.69 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.8347, allocations: 117.3 kB / 1.282 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.8349, allocations: 154.8 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.835, allocations: 106.3 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.8352, allocations: 338.8 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.8355, allocations: 153.2 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.8359, allocations: 248.8 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006621/0.8365, allocations: 398 kB / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8365, allocations: 0 / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008898/0.8374, allocations: 0.4899 MB / 1.283 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.8374, allocations: 7.938 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8374, allocations: 4 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.8375, allocations: 4.062 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.8379, allocations: 99.83 kB / 1.283 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.8379, allocations: 7.984 kB / 1.283 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.8382, allocations: 55.75 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.8382, allocations: 24.08 kB / 1.284 GB, free: 10.38 MB / 0.9825 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.0001933/0.8384, allocations: 159.4 kB / 1.284 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.8385, allocations: 39.67 kB / 1.284 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.075e-05/0.8386, allocations: 29.88 kB / 1.284 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.8386, allocations: 4 kB / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.8386, allocations: 4 kB / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.8386, allocations: 7.922 kB / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.8391, allocations: 353.3 kB / 1.284 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8391, allocations: 0 / 1.284 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.8395, allocations: 71.89 kB / 1.284 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.8395, allocations: 11.88 kB / 1.284 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.8395, allocations: 15.98 kB / 1.284 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.8395, allocations: 3.984 kB / 1.284 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8395, allocations: 4 kB / 1.284 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.8406, allocations: 0.5903 MB / 1.285 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.8407, allocations: 104.9 kB / 1.285 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.8408, allocations: 15.92 kB / 1.285 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.841, allocations: 31.97 kB / 1.285 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.8411, allocations: 51.94 kB / 1.285 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.8412, allocations: 19.98 kB / 1.285 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001004/0.8413, allocations: 125.2 kB / 1.285 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8413, allocations: 4 kB / 1.285 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003205/0.8416, allocations: 79.98 kB / 1.285 GB, free: 8.574 MB / 0.9825 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.0001799/0.8418, allocations: 115.8 kB / 1.285 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007579/0.8425, allocations: 362.6 kB / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8425, allocations: 0 / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.8429, allocations: 181.5 kB / 1.286 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.8433, allocations: 52.03 kB / 1.286 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.8444, allocations: 0.6405 MB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.8448, allocations: 0.7647 MB / 1.287 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.845, allocations: 43.23 kB / 1.287 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.8451, allocations: 39.42 kB / 1.287 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8451, allocations: 0 / 1.287 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of Templates: time 0.008306/0.8534, allocations: 4.04 MB / 1.291 GB, free: 2.309 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.127592639066279]