Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.001682/0.001682, allocations: 115.7 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.002865/0.002865, allocations: 200.5 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.491/1.491, 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.82/2.82, allocations: 476.7 MB / 0.7645 GB, free: 10.1 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_nonZeroStart,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_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,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_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 75.88 kB / 1.109 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7524/0.7543, allocations: 168.7 MB / 1.274 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003177/0.7575, allocations: 1.981 MB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.7586, allocations: 0.6559 MB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.7587, allocations: 4 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.731e-05/0.7587, allocations: 23.73 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.7589, allocations: 39.53 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.7593, allocations: 151.7 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.7596, allocations: 331.1 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.7598, allocations: 32.39 kB / 1.277 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.7599, allocations: 135.5 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.7602, allocations: 151.4 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.7602, allocations: 28 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.645e-05/0.7602, allocations: 35.94 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.96e-05/0.7603, allocations: 79.78 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.7605, allocations: 131.4 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.7608, allocations: 313.4 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.7608, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7608, allocations: 4 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.7608, allocations: 0 / 1.278 GB, free: 304 kB / 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.001272/0.7621, allocations: 0.6273 MB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.7621, allocations: 12.03 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.7622, allocations: 32.8 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.7623, allocations: 208.8 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.7626, allocations: 264.3 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.7626, allocations: 28.38 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.7631, allocations: 261.8 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.7632, allocations: 4 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.7632, allocations: 8 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.7632, allocations: 8 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.7636, allocations: 175.8 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.7648, allocations: 0.7776 MB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.7653, allocations: 195.7 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.7655, allocations: 126.5 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.7656, allocations: 11.98 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005498/0.7661, allocations: 311.7 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 1.884e-06/0.7661, allocations: 4 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.001056/0.7672, allocations: 485 kB / 1.281 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.7672, allocations: 118.7 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.7674, allocations: 176 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.7675, allocations: 41.69 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.7675, allocations: 121.3 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.7677, allocations: 158.7 kB / 1.282 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.7678, allocations: 106.3 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.768, allocations: 338.8 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.7683, allocations: 145.2 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.7687, allocations: 256.8 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007138/0.7694, allocations: 398 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7694, allocations: 0 / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008889/0.7703, allocations: 496.9 kB / 1.284 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.7703, allocations: 11.94 kB / 1.284 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.7703, allocations: 4 kB / 1.284 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.7703, allocations: 4 kB / 1.284 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.7707, allocations: 99.83 kB / 1.284 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.7707, allocations: 7.984 kB / 1.284 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.771, allocations: 55.69 kB / 1.284 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.7711, allocations: 24 kB / 1.284 GB, free: 9.879 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.0001654/0.7712, allocations: 155.5 kB / 1.284 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.7713, allocations: 35.73 kB / 1.284 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.122e-05/0.7713, allocations: 33.88 kB / 1.284 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.7714, allocations: 7.938 kB / 1.284 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.7714, allocations: 4 kB / 1.284 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.7714, allocations: 3.984 kB / 1.284 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.7718, allocations: 349.3 kB / 1.285 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.7718, allocations: 7.922 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.7722, allocations: 75.84 kB / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7722, allocations: 0 / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.7722, allocations: 15.98 kB / 1.285 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7722, allocations: 4.062 kB / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.7722, allocations: 8 kB / 1.285 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.7734, allocations: 0.5786 MB / 1.285 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.7734, allocations: 108.8 kB / 1.285 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.7735, allocations: 19.98 kB / 1.285 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.7737, allocations: 27.97 kB / 1.285 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.7738, allocations: 51.94 kB / 1.285 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.7739, allocations: 15.98 kB / 1.285 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001055/0.774, allocations: 125.2 kB / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.774, allocations: 0 / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000325/0.7743, allocations: 83.98 kB / 1.286 GB, free: 8.086 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.0001814/0.7745, allocations: 127.8 kB / 1.286 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007538/0.7752, allocations: 364.5 kB / 1.286 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7752, allocations: 0 / 1.286 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.7756, allocations: 184.5 kB / 1.286 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.776, allocations: 48.48 kB / 1.286 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.7771, allocations: 0.6484 MB / 1.287 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.7775, allocations: 0.7647 MB / 1.288 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.7776, allocations: 39.05 kB / 1.288 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.7778, allocations: 43.42 kB / 1.288 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.7778, allocations: 0 / 1.288 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of Templates: time 0.008261/0.786, allocations: 4.035 MB / 1.292 GB, free: 1.805 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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: 8.946750848088413]