Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001472, allocations: 106.3 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 194.7 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.586/2.586, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 67.95 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3036, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001836/0.3055, allocations: 0.7689 MB / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008473/0.3064, allocations: 0.8001 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.3064, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.3065, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.3065, allocations: 11.92 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.329e-05/0.3066, allocations: 15.98 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.48e-05/0.3067, allocations: 43.8 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.3068, allocations: 11.98 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.3068, allocations: 15.98 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.766e-05/0.3069, allocations: 23.86 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.3069, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-06/0.3069, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.3069, allocations: 11.98 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.307, allocations: 15.88 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.513e-05/0.307, allocations: 39.92 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.307, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.222e-06/0.307, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3071, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000506/0.3076, allocations: 355.7 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.3076, allocations: 8.031 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.3076, allocations: 12.84 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.3078, allocations: 172.3 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3078, allocations: 384 / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3078, allocations: 4.375 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.3081, allocations: 74.16 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3081, allocations: 192 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3081, allocations: 3.938 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3081, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.3084, allocations: 67.92 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.3087, allocations: 264.9 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.3089, allocations: 70.41 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.3091, allocations: 36.92 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.3091, allocations: 3.938 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.3091, allocations: 30.56 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3092, allocations: 0 / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0004964/0.3097, allocations: 133.8 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3097, allocations: 51.41 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.3098, allocations: 113.8 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3098, allocations: 25.7 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.3099, allocations: 80.14 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.3099, allocations: 19.75 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.3099, allocations: 17.7 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3101, allocations: 318.8 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3102, allocations: 27.97 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.3103, allocations: 31.95 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.3106, allocations: 72.78 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3106, allocations: 3.938 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002917/0.3109, allocations: 93.62 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3109, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3109, allocations: 3.938 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.311, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3111, allocations: 19.92 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.3111, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.305e-05/0.3112, allocations: 11.98 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3112, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.985e-05/0.3113, allocations: 124 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.3113, allocations: 3.906 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.3113, allocations: 7.906 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3113, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3114, allocations: 4 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3114, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.3115, allocations: 169.6 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3116, allocations: 3.984 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.3116, allocations: 11.98 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3117, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3117, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3117, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3117, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.3121, allocations: 195.4 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.3121, allocations: 88.94 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.3121, allocations: 4 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3122, allocations: 15.98 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.3123, allocations: 8 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.3123, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.3123, allocations: 91.2 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3124, allocations: 0 / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002036/0.3126, allocations: 8 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001183/0.3127, allocations: 99.25 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.313, allocations: 67.92 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.313, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.3132, allocations: 43.89 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.3135, allocations: 11.94 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.3138, allocations: 163.3 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3141, allocations: 0.6807 MB / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.3141, allocations: 19.38 kB / 1.07 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3141, allocations: 0 / 1.07 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of Templates: time 0.002045/0.3162, allocations: 0.7311 MB / 1.07 GB, free: 8.309 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches