Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.000844/0.000844, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008584/0.0008584, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9012/0.9012, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.725/1.725, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.9823 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.457e-05, allocations: 2.281 kB / 0.9823 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002085/0.00211, allocations: 1.917 MB / 0.9842 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009138/0.003023, allocations: 0.6972 MB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.003101, allocations: 4 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.329e-05/0.003145, allocations: 23.67 kB / 0.9849 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 9.171e-05/0.003236, allocations: 47.45 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.003614, allocations: 183.6 kB / 0.9851 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.003862, allocations: 339 kB / 0.9854 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.003982, allocations: 32.86 kB / 0.9854 GB, free: 14.72 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.004199, allocations: 199.6 kB / 0.9856 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.004325, allocations: 119.6 kB / 0.9857 GB, free: 14.41 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.004358, allocations: 28 kB / 0.9858 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.226e-05/0.00441, allocations: 32 kB / 0.9858 GB, free: 14.35 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.004457, allocations: 83.77 kB / 0.9859 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.004521, allocations: 103.7 kB / 0.986 GB, free: 14.17 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.004788, allocations: 339 kB / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.00479, allocations: 0 / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004791, allocations: 3.938 kB / 0.9863 GB, free: 13.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004795, allocations: 3.938 kB / 0.9863 GB, free: 13.83 MB / 0.948 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.0007636/0.005558, allocations: 0.5638 MB / 0.9869 GB, free: 13.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.005591, allocations: 8.031 kB / 0.9869 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.00578, allocations: 64.7 kB / 0.9869 GB, free: 13.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.006015, allocations: 185.8 kB / 0.9871 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.006218, allocations: 0.4919 MB / 0.9876 GB, free: 12.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.00626, allocations: 36.31 kB / 0.9876 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.006581, allocations: 255.1 kB / 0.9879 GB, free: 12.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.006598, allocations: 8.125 kB / 0.9879 GB, free: 12.05 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.006618, allocations: 12.12 kB / 0.9879 GB, free: 12.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.006624, allocations: 4 kB / 0.9879 GB, free: 12.03 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.006885, allocations: 175.8 kB / 0.9881 GB, free: 11.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.00753, allocations: 0.6641 MB / 0.9887 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.00785, allocations: 191.7 kB / 0.9889 GB, free: 10.94 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.008002, allocations: 134.5 kB / 0.989 GB, free: 10.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.008034, allocations: 4 kB / 0.989 GB, free: 10.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.008347, allocations: 308.2 kB / 0.9893 GB, free: 10.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=48): time 1.633e-06/0.008349, allocations: 0 / 0.9893 GB, free: 10.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=48): time 0.0006596/0.009008, allocations: 491.9 kB / 0.9898 GB, free: 9.992 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.009061, allocations: 118.7 kB / 0.9899 GB, free: 9.852 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.009169, allocations: 179.8 kB / 0.9901 GB, free: 9.664 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.009196, allocations: 41.7 kB / 0.9901 GB, free: 9.617 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.009249, allocations: 125.3 kB / 0.9902 GB, free: 9.492 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.009337, allocations: 158.8 kB / 0.9904 GB, free: 9.336 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.009428, allocations: 106.3 kB / 0.9905 GB, free: 9.227 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.009511, allocations: 338.8 kB / 0.9908 GB, free: 8.887 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.009702, allocations: 149.2 kB / 0.9909 GB, free: 8.742 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.009931, allocations: 252.7 kB / 0.9912 GB, free: 8.457 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.01046, allocations: 394.1 kB / 0.9916 GB, free: 8.035 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01046, allocations: 0 / 0.9916 GB, free: 8.035 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005099/0.01097, allocations: 497.2 kB / 0.992 GB, free: 7.543 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.01099, allocations: 6.969 kB / 0.992 GB, free: 7.539 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.01099, allocations: 4 kB / 0.992 GB, free: 7.535 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.01101, allocations: 7.938 kB / 0.992 GB, free: 7.527 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.0112, allocations: 103.8 kB / 0.9921 GB, free: 7.426 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01121, allocations: 4 kB / 0.9922 GB, free: 7.422 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.01134, allocations: 67.73 kB / 0.9922 GB, free: 7.355 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.01136, allocations: 20 kB / 0.9922 GB, free: 7.336 MB / 0.948 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.0001053/0.01146, allocations: 159.8 kB / 0.9924 GB, free: 7.168 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.01149, allocations: 31.8 kB / 0.9924 GB, free: 7.137 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.01153, allocations: 33.95 kB / 0.9924 GB, free: 7.105 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01154, allocations: 8 kB / 0.9925 GB, free: 7.098 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.01154, allocations: 3.938 kB / 0.9925 GB, free: 7.094 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01155, allocations: 3.984 kB / 0.9925 GB, free: 7.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.01174, allocations: 245 kB / 0.9927 GB, free: 6.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01174, allocations: 0 / 0.9927 GB, free: 6.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.01194, allocations: 75.89 kB / 0.9928 GB, free: 6.746 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01194, allocations: 4 kB / 0.9928 GB, free: 6.742 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.01196, allocations: 8 kB / 0.9928 GB, free: 6.734 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01197, allocations: 4 kB / 0.9928 GB, free: 6.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01197, allocations: 0 / 0.9928 GB, free: 6.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/0.01262, allocations: 0.5955 MB / 0.9934 GB, free: 6.113 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.01265, allocations: 27.78 kB / 0.9934 GB, free: 6.086 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.01268, allocations: 12 kB / 0.9934 GB, free: 6.074 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.01278, allocations: 27.97 kB / 0.9934 GB, free: 6.047 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.01286, allocations: 47.86 kB / 0.9935 GB, free: 6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.01288, allocations: 12 kB / 0.9935 GB, free: 5.988 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.099e-05/0.01294, allocations: 127.2 kB / 0.9936 GB, free: 5.863 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01294, allocations: 96 / 0.9936 GB, free: 5.863 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002069/0.01315, allocations: 91.83 kB / 0.9937 GB, free: 5.773 MB / 0.948 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.0001019/0.01325, allocations: 119.7 kB / 0.9938 GB, free: 5.645 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004462/0.01369, allocations: 360.6 kB / 0.9942 GB, free: 5.293 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.0137, allocations: 0 / 0.9942 GB, free: 5.293 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.0139, allocations: 172.4 kB / 0.9943 GB, free: 5.125 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.01411, allocations: 47.84 kB / 0.9944 GB, free: 5.078 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007063/0.01482, allocations: 0.6253 MB / 0.995 GB, free: 4.422 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.461e-05/0.0149, allocations: 160.3 kB / 0.9951 GB, free: 4.238 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.015, allocations: 36.5 kB / 0.9952 GB, free: 4.203 MB / 0.948 GB Notification: Performance of SimCode: time 8.41e-07/0.015, allocations: 3.938 kB / 0.9952 GB, free: 4.199 MB / 0.948 GB Notification: Performance of Templates: time 0.004008/0.01901, allocations: 4.144 MB / 0.9992 GB, free: 80 kB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.82639526296407]