Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.HeatTransfer.Convection.Examples.Exterior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor.hF|wes.hF|sou.hF|eas.hF",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior") translateModel(Buildings.HeatTransfer.Convection.Examples.Exterior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor.hF|wes.hF|sou.hF|eas.hF",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000914/0.0009141, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 179 kB / 16.92 MB, free: 6.652 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.633/2.633, allocations: 443.2 MB / 0.7181 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003938, allocations: 8.781 kB / 0.8801 GB, free: 41.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2861, allocations: 155.1 MB / 1.032 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.002835/0.289, allocations: 2.382 MB / 1.034 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.2922, allocations: 1.773 MB / 1.036 GB, free: 412 kB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.2924, allocations: 8 kB / 1.036 GB, free: 404 kB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.356e-05/0.2925, allocations: 35.64 kB / 1.036 GB, free: 368 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.2929, allocations: 146 kB / 1.036 GB, free: 224 kB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007205/0.2936, allocations: 295.4 kB / 1.036 GB, free: 15.93 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000523/0.2942, allocations: 466.5 kB / 1.037 GB, free: 15.47 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.2944, allocations: 125.4 kB / 1.037 GB, free: 15.34 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.2946, allocations: 155.2 kB / 1.037 GB, free: 15.19 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.2948, allocations: 155.2 kB / 1.037 GB, free: 15.04 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.2949, allocations: 16 kB / 1.037 GB, free: 15.02 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006419/0.2955, allocations: 435.4 kB / 1.037 GB, free: 14.6 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.2956, allocations: 63.75 kB / 1.037 GB, free: 14.54 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.2957, allocations: 196.7 kB / 1.038 GB, free: 14.34 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.2962, allocations: 375 kB / 1.038 GB, free: 13.97 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2962, allocations: 0 / 1.038 GB, free: 13.97 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2962, allocations: 3.938 kB / 1.038 GB, free: 13.96 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2962, allocations: 0 / 1.038 GB, free: 13.96 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000947/0.2972, allocations: 0.651 MB / 1.039 GB, free: 13.27 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2972, allocations: 8.031 kB / 1.039 GB, free: 13.26 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008197/0.298, allocations: 116.2 kB / 1.039 GB, free: 13.14 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.2984, allocations: 311.4 kB / 1.039 GB, free: 12.8 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.2984, allocations: 21.03 kB / 1.039 GB, free: 12.78 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.2985, allocations: 36.31 kB / 1.039 GB, free: 12.75 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006985/0.2992, allocations: 326.3 kB / 1.039 GB, free: 12.42 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2992, allocations: 0 / 1.039 GB, free: 12.42 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.2993, allocations: 12 kB / 1.039 GB, free: 12.41 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2993, allocations: 4 kB / 1.039 GB, free: 12.41 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008288/0.3001, allocations: 306.4 kB / 1.04 GB, free: 12.11 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.3017, allocations: 0.8929 MB / 1.041 GB, free: 11.16 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008915/0.3026, allocations: 303 kB / 1.041 GB, free: 10.86 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.303, allocations: 136.8 kB / 1.041 GB, free: 10.72 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.3031, allocations: 89.47 kB / 1.041 GB, free: 10.61 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.3032, allocations: 34.55 kB / 1.041 GB, free: 10.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=25): time 2.986e-06/0.3032, allocations: 4.109 kB / 1.041 GB, free: 10.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=25): time 0.001292/0.3045, allocations: 402 kB / 1.042 GB, free: 10.17 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.3045, allocations: 59.34 kB / 1.042 GB, free: 10.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.3049, allocations: 353.6 kB / 1.042 GB, free: 9.742 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3049, allocations: 29.7 kB / 1.042 GB, free: 9.707 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.305, allocations: 184.5 kB / 1.042 GB, free: 9.523 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.3051, allocations: 82.81 kB / 1.042 GB, free: 9.441 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.3052, allocations: 29.7 kB / 1.042 GB, free: 9.406 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3053, allocations: 342.8 kB / 1.043 GB, free: 9.062 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.3057, allocations: 112.5 kB / 1.043 GB, free: 8.953 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.3061, allocations: 113 kB / 1.043 GB, free: 8.844 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007106/0.3068, allocations: 242.1 kB / 1.043 GB, free: 8.605 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3068, allocations: 0 / 1.043 GB, free: 8.605 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008963/0.3077, allocations: 341.5 kB / 1.043 GB, free: 8.266 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3077, allocations: 8 kB / 1.043 GB, free: 8.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3077, allocations: 0 / 1.043 GB, free: 8.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3077, allocations: 4 kB / 1.043 GB, free: 8.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.3082, allocations: 79.86 kB / 1.043 GB, free: 8.176 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3082, allocations: 7.938 kB / 1.043 GB, free: 8.168 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.3085, allocations: 51.52 kB / 1.043 GB, free: 8.117 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.3085, allocations: 11.98 kB / 1.044 GB, free: 8.105 MB / 0.795 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 (33): * Single equations (assignments): 33 * 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.0001532/0.3087, allocations: 141.8 kB / 1.044 GB, free: 7.957 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.3088, allocations: 39.56 kB / 1.044 GB, free: 7.918 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.3098, allocations: 380 kB / 1.044 GB, free: 7.527 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3098, allocations: 0 / 1.044 GB, free: 7.527 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3098, allocations: 3.984 kB / 1.044 GB, free: 7.523 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3098, allocations: 4 kB / 1.044 GB, free: 7.52 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.3102, allocations: 353.2 kB / 1.044 GB, free: 7.125 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.3102, allocations: 4 kB / 1.044 GB, free: 7.121 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.3105, allocations: 67.88 kB / 1.044 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3105, allocations: 0 / 1.044 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.3105, allocations: 4 kB / 1.044 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3106, allocations: 11.92 kB / 1.044 GB, free: 7.039 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3106, allocations: 0 / 1.044 GB, free: 7.039 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008058/0.3114, allocations: 304.4 kB / 1.045 GB, free: 6.723 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.3115, allocations: 144.6 kB / 1.045 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.3116, allocations: 3.938 kB / 1.045 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.3118, allocations: 23.97 kB / 1.045 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.3119, allocations: 15.98 kB / 1.045 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.3119, allocations: 4 kB / 1.045 GB, free: 6.516 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002409/0.3122, allocations: 263.1 kB / 1.045 GB, free: 6.262 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3122, allocations: 0 / 1.045 GB, free: 6.262 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003451/0.3125, allocations: 99.84 kB / 1.045 GB, free: 6.164 MB / 0.795 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 (21): * Single equations (assignments): 21 * 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.0002046/0.3127, allocations: 131.2 kB / 1.045 GB, free: 6.023 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007872/0.3135, allocations: 249.8 kB / 1.046 GB, free: 5.781 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3135, allocations: 0 / 1.046 GB, free: 5.781 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.3139, allocations: 119.8 kB / 1.046 GB, free: 5.664 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.3146, allocations: 109.1 kB / 1.046 GB, free: 5.562 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.3159, allocations: 0.7397 MB / 1.047 GB, free: 4.793 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3162, allocations: 0.7833 MB / 1.047 GB, free: 3.984 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3164, allocations: 39.41 kB / 1.047 GB, free: 3.945 MB / 0.795 GB Notification: Performance of SimCode: time 4.2e-07/0.3164, allocations: 0 / 1.047 GB, free: 3.945 MB / 0.795 GB Notification: Performance of Templates: time 0.007591/0.324, allocations: 5.039 MB / 1.052 GB, free: 14.93 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & ./Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches