Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001746/0.001746, allocations: 112.5 kB / 17.13 MB, free: 5.914 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.001962/0.001962, allocations: 198 kB / 20.08 MB, free: 2.973 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.426/1.426, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.574/2.574, allocations: 443.5 MB / 0.7293 GB, free: 14.65 MB / 0.5762 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,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") 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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 71.88 kB / 1.057 GB, free: 2.047 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3044, allocations: 160.7 MB / 1.214 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002342/0.3067, allocations: 1.107 MB / 1.215 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3081, allocations: 1.108 MB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.3082, allocations: 0 / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.339e-05/0.3083, allocations: 27.67 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.3084, allocations: 39.58 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.3088, allocations: 151.7 kB / 1.217 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.3092, allocations: 323.1 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3093, allocations: 40.38 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.3095, allocations: 131.6 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.3097, allocations: 155.4 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.3097, allocations: 28 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.086e-05/0.3098, allocations: 28 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.3099, allocations: 71.8 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.31, allocations: 139.3 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.3103, allocations: 314.7 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3103, allocations: 0 / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.41e-07/0.3103, allocations: 0 / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3103, allocations: 0 / 1.218 GB, free: 13.35 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.001245/0.3116, allocations: 0.639 MB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.3116, allocations: 11.98 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.3117, allocations: 40.78 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3119, allocations: 189 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/0.3121, allocations: 264.3 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.3121, allocations: 32.31 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.3126, allocations: 258.3 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.3127, allocations: 11.92 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.3127, allocations: 8 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.3127, allocations: 8 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.3132, allocations: 175.8 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.3143, allocations: 0.7815 MB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.3147, allocations: 195.7 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.315, allocations: 131.2 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.3151, allocations: 4 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005503/0.3156, allocations: 315.8 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=48): time 1.733e-06/0.3156, allocations: 4 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.001062/0.3167, allocations: 496 kB / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.984e-05/0.3168, allocations: 126.7 kB / 1.221 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.3169, allocations: 171.5 kB / 1.221 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.317, allocations: 37.7 kB / 1.221 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.3171, allocations: 125.3 kB / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.3172, allocations: 154.8 kB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.3173, allocations: 106.3 kB / 1.222 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3175, allocations: 342.8 kB / 1.222 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.3178, allocations: 145.2 kB / 1.222 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.3182, allocations: 256.8 kB / 1.223 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/0.3189, allocations: 398 kB / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3189, allocations: 0 / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000877/0.3198, allocations: 489.2 kB / 1.223 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3198, allocations: 15.92 kB / 1.223 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3198, allocations: 0 / 1.223 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.3198, allocations: 8 kB / 1.223 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.3202, allocations: 91.83 kB / 1.223 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3202, allocations: 12 kB / 1.223 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.3205, allocations: 55.75 kB / 1.224 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.3205, allocations: 20 kB / 1.224 GB, free: 6.91 MB / 0.9669 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.0001704/0.3207, allocations: 167.3 kB / 1.224 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.3208, allocations: 31.75 kB / 1.224 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.753e-05/0.3208, allocations: 41.86 kB / 1.224 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3208, allocations: 4 kB / 1.224 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3208, allocations: 64 / 1.224 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-06/0.3209, allocations: 7.938 kB / 1.224 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.3212, allocations: 353.3 kB / 1.224 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3212, allocations: 4 kB / 1.224 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.3216, allocations: 75.89 kB / 1.224 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3217, allocations: 3.938 kB / 1.224 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.3217, allocations: 12 kB / 1.224 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.3217, allocations: 7.984 kB / 1.224 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3217, allocations: 4 kB / 1.224 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3228, allocations: 0.5747 MB / 1.225 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.3229, allocations: 104.9 kB / 1.225 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.3229, allocations: 19.94 kB / 1.225 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.3232, allocations: 31.95 kB / 1.225 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3233, allocations: 35.95 kB / 1.225 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.3233, allocations: 16 kB / 1.225 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.424e-05/0.3234, allocations: 125.2 kB / 1.225 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3234, allocations: 192 / 1.225 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003173/0.3237, allocations: 80 kB / 1.225 GB, free: 5.125 MB / 0.9669 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.0001624/0.3239, allocations: 128 kB / 1.225 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007535/0.3246, allocations: 368.1 kB / 1.226 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3246, allocations: 0 / 1.226 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.325, allocations: 175.8 kB / 1.226 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.3253, allocations: 41.94 kB / 1.226 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.3264, allocations: 0.6541 MB / 1.227 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.3268, allocations: 0.7646 MB / 1.227 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.327, allocations: 39.42 kB / 1.227 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of SimCode: time 4e-07/0.327, allocations: 4 kB / 1.227 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of Templates: time 0.006474/0.3334, allocations: 3.989 MB / 1.231 GB, free: 14.93 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.616470098029822]