Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001476/0.001476, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00165/0.00165, allocations: 219.1 kB / 23.03 MB, free: 4.945 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.138/3.138, allocations: 0.49 GB / 0.7959 GB, free: 35.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.001888/0.001888, allocations: 73.48 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3262, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004414/0.3306, allocations: 2.855 MB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003009/0.3336, allocations: 1.966 MB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.3338, allocations: 8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.3352, allocations: 469.8 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.3355, allocations: 150.9 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.3356, allocations: 55.94 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000495/0.3361, allocations: 449.6 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.3363, allocations: 99.84 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.3366, allocations: 171.4 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.3369, allocations: 183.1 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.3369, allocations: 36 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.556e-05/0.337, allocations: 40 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.3371, allocations: 91.69 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.3373, allocations: 175.1 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005706/0.3379, allocations: 0.5524 MB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3379, allocations: 0 / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3379, allocations: 0 / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3379, allocations: 0 / 1.334 GB, free: 10.22 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001024/0.3389, allocations: 0.6329 MB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.3389, allocations: 12.03 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.62e-05/0.339, allocations: 8.625 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.774e-05/0.339, allocations: 58.72 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/0.3391, allocations: 48.61 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.3396, allocations: 320.5 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.3396, allocations: 12.81 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.3397, allocations: 24.38 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.3401, allocations: 211.2 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3401, allocations: 0 / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.3401, allocations: 8 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3401, allocations: 4 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.3405, allocations: 161.7 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3416, allocations: 0.6862 MB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.3419, allocations: 142.6 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.3421, allocations: 96.81 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3421, allocations: 4 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3421, allocations: 30.56 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.3421, allocations: 0 / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0006086/0.3428, allocations: 271.5 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3428, allocations: 55.41 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.3433, allocations: 409.7 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.3433, allocations: 37.62 kB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.3434, allocations: 208.4 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.3435, allocations: 63.42 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.3436, allocations: 37.7 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3437, allocations: 346.8 kB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.3439, allocations: 59.97 kB / 1.338 GB, free: 6.137 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.344, allocations: 57.52 kB / 1.338 GB, free: 6.082 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.3443, allocations: 142.6 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3443, allocations: 0 / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003737/0.3447, allocations: 207.1 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3447, allocations: 7.938 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3447, allocations: 0 / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3447, allocations: 4 kB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.345, allocations: 63.89 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.345, allocations: 0 / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.3451, allocations: 11.89 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.3451, allocations: 8 kB / 1.338 GB, free: 5.641 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 (20): * Single equations (assignments): 20 * 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.0001582/0.3453, allocations: 162.4 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.3453, allocations: 43.7 kB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.488e-05/0.3454, allocations: 39.53 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3454, allocations: 4 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3454, allocations: 0 / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3454, allocations: 3.984 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.3458, allocations: 304.5 kB / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3458, allocations: 4 kB / 1.339 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.3461, allocations: 55.89 kB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3461, allocations: 7.922 kB / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3461, allocations: 8 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3461, allocations: 0 / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3461, allocations: 0 / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.3467, allocations: 380.4 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/0.3467, allocations: 43.72 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.3468, allocations: 7.938 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.3469, allocations: 4 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.347, allocations: 19.91 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.347, allocations: 8 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003226/0.3473, allocations: 303.2 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3473, allocations: 3.938 kB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000305/0.3476, allocations: 75.95 kB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0008988/0.3485, allocations: 0.9244 MB / 1.34 GB, free: 3.172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.3489, allocations: 135.9 kB / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.3489, allocations: 0 / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.349, allocations: 77.12 kB / 1.341 GB, free: 2.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.3495, allocations: 90.03 kB / 1.341 GB, free: 2.883 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.354, allocations: 3.486 MB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.3542, allocations: 198.5 kB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.3543, allocations: 34.95 kB / 1.344 GB, free: 15.06 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.3545, allocations: 115.4 kB / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3545, allocations: 0 / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.3866, allocations: 8.605 MB / 1.353 GB, free: 6.688 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.7, allocations: 8.047 kB / 1.353 GB, free: 6.68 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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: 18.403841625899076]