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.001777/0.001777, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001836/0.001836, allocations: 197.3 kB / 22.17 MB, free: 5.656 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.544/1.544, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.875/2.875, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] 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.001936/0.001936, allocations: 67.89 kB / 1.109 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9406/0.9425, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003789/0.9463, allocations: 1.977 MB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.9476, allocations: 0.6521 MB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.9476, allocations: 4 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.694e-05/0.9477, allocations: 23.67 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.9478, allocations: 43.58 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.9483, allocations: 159.7 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.9487, allocations: 327.1 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.9488, allocations: 36.38 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.949, allocations: 127.6 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.9493, allocations: 147.4 kB / 1.278 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.9493, allocations: 32 kB / 1.278 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.79e-05/0.9494, allocations: 31.94 kB / 1.278 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.9495, allocations: 83.78 kB / 1.278 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.9496, allocations: 135.4 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.95, allocations: 313.4 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.95, allocations: 0 / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.864e-06/0.95, allocations: 0 / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.95, allocations: 0 / 1.278 GB, free: 0.4961 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.001396/0.9514, allocations: 0.6312 MB / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.9514, allocations: 8.031 kB / 1.279 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.597e-05/0.9515, allocations: 28.8 kB / 1.279 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.9517, allocations: 208.8 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/0.952, allocations: 260.3 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.952, allocations: 32.38 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.9525, allocations: 269.8 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.9526, allocations: 0 / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.9526, allocations: 12 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.9526, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.953, allocations: 175.9 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.9542, allocations: 0.7778 MB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005285/0.9547, allocations: 203.6 kB / 1.281 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.955, allocations: 122.5 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.9551, allocations: 15.97 kB / 1.281 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006922/0.9558, allocations: 307.7 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=48): time 1.994e-06/0.9558, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.001078/0.9568, allocations: 488.1 kB / 1.282 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.731e-05/0.9569, allocations: 114.8 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.9571, allocations: 180 kB / 1.282 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.9572, allocations: 41.69 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/0.9573, allocations: 117.3 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.9574, allocations: 150.8 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.9576, allocations: 110.3 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.9578, allocations: 342.8 kB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.9581, allocations: 149.2 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.9585, allocations: 248.8 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006901/0.9592, allocations: 390 kB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.9592, allocations: 3.938 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009049/0.9601, allocations: 0.4976 MB / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.9601, allocations: 4 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.9601, allocations: 4 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/0.9602, allocations: 8.094 kB / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.9606, allocations: 95.81 kB / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.9606, allocations: 7.984 kB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.9609, allocations: 67.69 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.9609, allocations: 20 kB / 1.284 GB, free: 10.07 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.000228/0.9612, allocations: 155.5 kB / 1.284 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.9612, allocations: 35.73 kB / 1.284 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.949e-05/0.9613, allocations: 29.88 kB / 1.284 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.9613, allocations: 8 kB / 1.284 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.9613, allocations: 0 / 1.284 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.9613, allocations: 8.047 kB / 1.284 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.9618, allocations: 349.3 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9618, allocations: 0 / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.9622, allocations: 79.83 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.9622, allocations: 4 kB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.9623, allocations: 11.98 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.711e-05/0.9623, allocations: 4 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9623, allocations: 3.938 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.9635, allocations: 0.5872 MB / 1.285 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/0.9636, allocations: 108.8 kB / 1.285 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.9637, allocations: 15.98 kB / 1.285 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.9639, allocations: 31.97 kB / 1.285 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.9641, allocations: 56.03 kB / 1.285 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.9641, allocations: 15.92 kB / 1.285 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001132/0.9642, allocations: 133.2 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9642, allocations: 0 / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003425/0.9646, allocations: 75.98 kB / 1.286 GB, free: 8.281 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.0002616/0.9648, allocations: 123.7 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008025/0.9656, allocations: 358.8 kB / 1.286 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9656, allocations: 0 / 1.286 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.966, allocations: 188.7 kB / 1.286 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.9664, allocations: 53.31 kB / 1.286 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.9677, allocations: 0.6446 MB / 1.287 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.9681, allocations: 0.7647 MB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.9682, allocations: 34.97 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.9684, allocations: 39.42 kB / 1.288 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.9684, allocations: 0 / 1.288 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.008733/0.9771, allocations: 4.038 MB / 1.292 GB, free: 2.008 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 cvode -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: 9.34293230297044]