Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001341/0.001341, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001577/0.001577, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.846/2.846, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 71.97 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3004, allocations: 157.4 MB / 1.052 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.00226/0.3027, allocations: 0.7612 MB / 1.053 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3039, allocations: 0.8079 MB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.3039, allocations: 0 / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.895e-05/0.304, allocations: 0 / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.678e-05/0.3041, allocations: 7.875 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.766e-05/0.3042, allocations: 15.98 kB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.3043, allocations: 39.86 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3045, allocations: 12 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.3046, allocations: 15.92 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.3046, allocations: 23.91 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.3047, allocations: 0 / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.3047, allocations: 4 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.3047, allocations: 4 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.3048, allocations: 23.84 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.3049, allocations: 43.88 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3049, allocations: 0 / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3049, allocations: 0 / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.3049, allocations: 0 / 1.054 GB, free: 7.129 MB / 0.8106 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.0007647/0.3057, allocations: 359.6 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.3058, allocations: 8.031 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.3058, allocations: 4.938 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.306, allocations: 180.2 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.306, allocations: 4.375 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.306, allocations: 384 / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.3063, allocations: 74.16 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3064, allocations: 192 / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3064, allocations: 3.938 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3064, allocations: 0 / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.3067, allocations: 67.92 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.3072, allocations: 261 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.3074, allocations: 66.41 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.3076, allocations: 40.92 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.3076, allocations: 0 / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3077, allocations: 30.56 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3077, allocations: 0 / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005789/0.3082, allocations: 133.5 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.3083, allocations: 51.41 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.453e-05/0.3084, allocations: 117.8 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3084, allocations: 29.64 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.3085, allocations: 80.14 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.3085, allocations: 19.8 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.3085, allocations: 13.7 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.3087, allocations: 322.8 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3088, allocations: 27.97 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.309, allocations: 31.95 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.3092, allocations: 77.06 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3092, allocations: 3.938 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000305/0.3096, allocations: 97.61 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3096, allocations: 4 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3096, allocations: 0 / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3096, allocations: 3.938 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.3098, allocations: 19.98 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.3098, allocations: 0 / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.883e-05/0.3099, allocations: 11.98 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3099, allocations: 0 / 1.056 GB, free: 4.801 MB / 0.8106 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 7.933e-05/0.3099, allocations: 123.3 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.31, allocations: 3.906 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.31, allocations: 3.906 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.31, allocations: 4 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.31, allocations: 4 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.31, allocations: 0 / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.3102, allocations: 169.6 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3102, allocations: 3.984 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.584e-05/0.3103, allocations: 15.92 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.3103, allocations: 4 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.3104, allocations: 0 / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3104, allocations: 0 / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3104, allocations: 0 / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.3107, allocations: 199.4 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.3108, allocations: 88.94 kB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3108, allocations: 4 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3109, allocations: 7.984 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.311, allocations: 8 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.311, allocations: 7.984 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.261e-05/0.311, allocations: 87.22 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.311, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002166/0.3113, allocations: 8 kB / 1.057 GB, free: 3.977 MB / 0.8106 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.0001596/0.3114, allocations: 101.6 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003515/0.3118, allocations: 67.92 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3118, allocations: 0 / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.312, allocations: 43.89 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3123, allocations: 7.938 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.3127, allocations: 139.1 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.3129, allocations: 0.6809 MB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.313, allocations: 0 / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.313, allocations: 11.44 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.313, allocations: 0 / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of Templates: time 0.002651/0.3157, allocations: 0.5627 MB / 1.058 GB, free: 2.316 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches