Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00194/0.00194, allocations: 111.5 kB / 17.08 MB, free: 5.957 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.00169/0.00169, allocations: 194.2 kB / 20.03 MB, free: 3.039 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.445/1.445, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.742/2.742, allocations: 437 MB / 0.7177 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002038, allocations: 75.86 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3332, allocations: 151.6 MB / 1.176 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003266/0.3365, allocations: 1.959 MB / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3377, allocations: 0.6506 MB / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.198e-05/0.3378, allocations: 0 / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.594e-05/0.3378, allocations: 19.73 kB / 1.178 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.338, allocations: 43.58 kB / 1.179 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.3384, allocations: 151.7 kB / 1.179 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000357/0.3388, allocations: 327.1 kB / 1.179 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3389, allocations: 48.38 kB / 1.179 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.3391, allocations: 127.6 kB / 1.179 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.3394, allocations: 151.4 kB / 1.179 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.3394, allocations: 28 kB / 1.179 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.3395, allocations: 32 kB / 1.179 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.3396, allocations: 79.72 kB / 1.179 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.3397, allocations: 131.4 kB / 1.18 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.3401, allocations: 310.8 kB / 1.18 GB, free: 1.766 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3401, allocations: 0 / 1.18 GB, free: 1.766 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.667e-06/0.3401, allocations: 4 kB / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.3401, allocations: 3.984 kB / 1.18 GB, free: 1.758 MB / 0.92 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.001276/0.3414, allocations: 0.6389 MB / 1.18 GB, free: 1.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3414, allocations: 12.03 kB / 1.18 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.378e-05/0.3415, allocations: 28.8 kB / 1.181 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.3417, allocations: 196.9 kB / 1.181 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.3419, allocations: 260.3 kB / 1.181 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.342, allocations: 36.33 kB / 1.181 GB, free: 468 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.3425, allocations: 257.9 kB / 1.181 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.3426, allocations: 7.938 kB / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.3426, allocations: 11.94 kB / 1.181 GB, free: 176 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.3426, allocations: 8 kB / 1.181 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.3431, allocations: 167.9 kB / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.3443, allocations: 0.7778 MB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.3448, allocations: 209.8 kB / 1.182 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.3451, allocations: 134.5 kB / 1.183 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.3451, allocations: 11.97 kB / 1.183 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006075/0.3457, allocations: 323.8 kB / 1.183 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 1.943e-06/0.3457, allocations: 0 / 1.183 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.00111/0.3469, allocations: 483 kB / 1.183 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.3469, allocations: 114.8 kB / 1.183 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.3471, allocations: 175.5 kB / 1.184 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.3472, allocations: 37.7 kB / 1.184 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.3473, allocations: 129.2 kB / 1.184 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.3474, allocations: 150.8 kB / 1.184 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.3476, allocations: 102.3 kB / 1.184 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3478, allocations: 338.8 kB / 1.184 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.3481, allocations: 153.2 kB / 1.184 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.3485, allocations: 256.7 kB / 1.185 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/0.3492, allocations: 398 kB / 1.185 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3492, allocations: 0 / 1.185 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00093/0.3501, allocations: 0.4893 MB / 1.186 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3502, allocations: 11.94 kB / 1.186 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3502, allocations: 4 kB / 1.186 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.3502, allocations: 4 kB / 1.186 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.3506, allocations: 99.77 kB / 1.186 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.879e-05/0.3507, allocations: 7.938 kB / 1.186 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.3509, allocations: 55.73 kB / 1.186 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.351, allocations: 20 kB / 1.186 GB, free: 11.32 MB / 0.9356 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.0002022/0.3512, allocations: 163.4 kB / 1.186 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.3513, allocations: 35.75 kB / 1.186 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.16e-05/0.3513, allocations: 33.86 kB / 1.186 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3514, allocations: 4 kB / 1.186 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3514, allocations: 0 / 1.186 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.3514, allocations: 7.984 kB / 1.186 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.3518, allocations: 349.3 kB / 1.186 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3518, allocations: 4 kB / 1.186 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.3522, allocations: 79.89 kB / 1.186 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.3523, allocations: 4 kB / 1.186 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.3523, allocations: 11.98 kB / 1.186 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.3523, allocations: 4 kB / 1.186 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3523, allocations: 0 / 1.186 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.3535, allocations: 0.591 MB / 1.187 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.3536, allocations: 112.7 kB / 1.187 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.3536, allocations: 8 kB / 1.187 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.3539, allocations: 35.95 kB / 1.187 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.354, allocations: 39.95 kB / 1.187 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.354, allocations: 19.98 kB / 1.187 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001067/0.3541, allocations: 121.2 kB / 1.187 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.3542, allocations: 4 kB / 1.187 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003336/0.3545, allocations: 76.09 kB / 1.187 GB, free: 9.531 MB / 0.9356 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.0001983/0.3547, allocations: 133.4 kB / 1.188 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007943/0.3555, allocations: 376 kB / 1.188 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3555, allocations: 0 / 1.188 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003865/0.3559, allocations: 197.3 kB / 1.188 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.3562, allocations: 44.55 kB / 1.188 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.3575, allocations: 0.6502 MB / 1.189 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.3579, allocations: 0.7685 MB / 1.189 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.358, allocations: 39.42 kB / 1.19 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.358, allocations: 0 / 1.19 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of Templates: time 0.006846/0.3649, allocations: 3.993 MB / 1.193 GB, free: 3.312 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,sinInpNoDel.y,movAve1.y,movAve2.y,movAve3.y,movAve4.y,sinInp50sDel.y,movAve6.y,movAve7.y,sinInp100sDel.y,movAve8.y,movAve9.y Variables in the result:movAve1.y,movAve2.y,movAve3.y,movAve4.y,movAve6.y,movAve7.y,movAve8.y,movAve9.y,sinInp100sDel.y,sinInp50sDel.y,sinInpNoDel.y,time [Calling sys.exit(0), Time elapsed: 10.796034457045607]