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.001366/0.001366, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001515/0.001515, allocations: 219 kB / 22.26 MB, free: 5.125 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 8.004 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 3.053/3.053, allocations: 0.49 GB / 0.7951 GB, free: 33.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",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.00199/0.00199, allocations: 66.17 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4051, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002512/0.4076, allocations: 1.313 MB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005114/0.4127, allocations: 3.865 MB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.4128, allocations: 3.938 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.4128, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.4133, allocations: 111.5 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.4136, allocations: 135.5 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.863e-05/0.4137, allocations: 23.92 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.4137, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.4139, allocations: 31.84 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.98e-05/0.414, allocations: 43.91 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.427e-06/0.414, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.4145, allocations: 311.5 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.4145, allocations: 3.938 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.4145, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.4148, allocations: 131.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4148, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4148, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.4148, allocations: 0 / 1.332 GB, free: 11.93 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.0004056/0.4152, allocations: 286 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4152, allocations: 12.03 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.4153, allocations: 34.73 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.021e-05/0.4153, allocations: 0.9375 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.4154, allocations: 118.4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.4154, allocations: 384 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.4154, allocations: 384 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.679e-05/0.4155, allocations: 37.64 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4155, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.4155, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4155, allocations: 4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.896e-05/0.4156, allocations: 11.92 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.4157, allocations: 120.8 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.65e-05/0.4158, allocations: 26.59 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.4158, allocations: 8.859 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.416, allocations: 27.98 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.4161, allocations: 30.56 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.4161, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.4162, allocations: 49.62 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.4163, allocations: 51.41 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.4164, allocations: 101.9 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.4164, allocations: 29.69 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.4164, allocations: 84.27 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.4165, allocations: 3.953 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.4165, allocations: 17.72 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4166, allocations: 314.8 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.4167, allocations: 4 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.395e-06/0.4167, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/0.4167, allocations: 20.84 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4167, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.16e-05/0.4168, allocations: 53.58 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4168, allocations: 8 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.4168, allocations: 0 / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4168, allocations: 0 / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.223e-05/0.4169, allocations: 4 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4169, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.4169, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.4169, allocations: 0 / 1.333 GB, free: 10.3 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 8.843e-05/0.417, allocations: 117.8 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.417, allocations: 11.91 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.4171, allocations: 48.94 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4171, allocations: 4 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4171, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4171, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.4172, allocations: 128.7 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.4172, allocations: 4.188 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.4173, allocations: 4 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4173, allocations: 4 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.4173, allocations: 4.031 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.4173, allocations: 0 / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4173, allocations: 0 / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.4174, allocations: 65.12 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.4175, allocations: 11.89 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.4175, allocations: 3.938 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/0.4175, allocations: 0 / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.4175, allocations: 4.031 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.4175, allocations: 0 / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.644e-05/0.4175, allocations: 87.27 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4175, allocations: 0 / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002306/0.4178, allocations: 23.94 kB / 1.334 GB, free: 9.719 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.0005181/0.4183, allocations: 0.6396 MB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.629e-05/0.4184, allocations: 19.92 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4184, allocations: 0 / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-05/0.4184, allocations: 4 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.4186, allocations: 1.719 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.419, allocations: 161.9 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.4194, allocations: 0.6806 MB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.4194, allocations: 7.938 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.4195, allocations: 15.42 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4195, allocations: 0 / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.4472, allocations: 1.737 MB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.26, allocations: 13.31 kB / 1.337 GB, free: 6.484 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: 17.855426111025736]