Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.001262/0.001262, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001459/0.001459, allocations: 218.2 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.362/1.362, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.948/2.948, allocations: 0.49 GB / 0.7959 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 62.22 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2995, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002282/0.3018, allocations: 1.313 MB / 1.328 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004348/0.3062, allocations: 3.869 MB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.3062, allocations: 4 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.3062, allocations: 4 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.3066, allocations: 103.5 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.3069, allocations: 136.7 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.043e-05/0.307, allocations: 23.92 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 2.966e-05/0.307, allocations: 4 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3071, allocations: 31.84 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.684e-05/0.3072, allocations: 39.91 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.205e-06/0.3072, allocations: 0 / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000466/0.3077, allocations: 303.6 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.3077, allocations: 11.88 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.3077, allocations: 7.984 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.3079, allocations: 123.9 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3079, allocations: 4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3079, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3079, allocations: 4 kB / 1.333 GB, free: 11.95 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003554/0.3083, allocations: 282 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3083, allocations: 8.031 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.234e-05/0.3083, allocations: 4.172 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.3084, allocations: 34.75 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.3084, allocations: 4.938 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.255e-05/0.3085, allocations: 106.5 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-06/0.3085, allocations: 4.312 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.3085, allocations: 12.12 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.878e-05/0.3086, allocations: 33.69 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3086, allocations: 0 / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.3086, allocations: 0 / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3086, allocations: 0 / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.3086, allocations: 11.94 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.3088, allocations: 124.8 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.106e-05/0.3088, allocations: 22.58 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.3089, allocations: 12.86 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001864/0.309, allocations: 19.98 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3091, allocations: 38.55 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3091, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001348/0.3092, allocations: 41.64 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.3092, allocations: 55.53 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.3093, allocations: 101.8 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.3093, allocations: 29.64 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.3094, allocations: 88.14 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.3094, allocations: 3.953 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.3094, allocations: 9.719 kB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3095, allocations: 318.8 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.3095, allocations: 3.984 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.009e-05/0.3096, allocations: 8 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.3096, allocations: 8.859 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3096, allocations: 0 / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.676e-05/0.3097, allocations: 53.53 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3097, allocations: 6.031 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.3097, allocations: 0 / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3097, allocations: 256 / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.861e-05/0.3097, allocations: 7.984 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.3097, allocations: 8.094 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.3098, allocations: 0 / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.3098, allocations: 4 kB / 1.334 GB, free: 10.32 MB / 1.029 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 (2): * Single equations (assignments): 2 * 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.335e-05/0.3098, allocations: 105.8 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.3098, allocations: 3.938 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.3099, allocations: 60.88 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3099, allocations: 3.984 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.31, allocations: 0 / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.31, allocations: 4.031 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.3101, allocations: 128.6 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3101, allocations: 4 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.3101, allocations: 0 / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3101, allocations: 0 / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.3101, allocations: 4 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3101, allocations: 0 / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3101, allocations: 0 / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.323e-05/0.3102, allocations: 73.06 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.3102, allocations: 11.89 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.3102, allocations: 0 / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.345e-05/0.3102, allocations: 0 / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.3102, allocations: 7.984 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3102, allocations: 0 / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.3103, allocations: 79.28 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3103, allocations: 3.938 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002048/0.3105, allocations: 23.94 kB / 1.334 GB, free: 9.742 MB / 1.029 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 (2): * Single equations (assignments): 2 * 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.0004396/0.3109, allocations: 0.6435 MB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.275e-05/0.311, allocations: 7.938 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.311, allocations: 0 / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.51e-05/0.311, allocations: 8 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.3112, allocations: 8.156 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.3116, allocations: 165.7 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.3119, allocations: 0.6806 MB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.3119, allocations: 4 kB / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.3119, allocations: 11.44 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3119, allocations: 0 / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.3319, allocations: 1.768 MB / 1.338 GB, free: 6.496 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.71, allocations: 16.73 kB / 1.338 GB, free: 6.488 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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: 16.901651866035536]