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.001785/0.001785, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002649/0.002649, allocations: 216.7 kB / 22.25 MB, free: 5.105 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: 7.805 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.998/2.998, allocations: 0.49 GB / 0.7951 GB, free: 35.59 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="me",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="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.001921/0.001921, allocations: 66.73 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3072, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004384/0.3116, allocations: 2.86 MB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002855/0.3145, allocations: 1.966 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.3147, allocations: 8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.3161, allocations: 473.8 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.3164, allocations: 146.9 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.3165, allocations: 63.88 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004773/0.317, allocations: 440.8 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.3172, allocations: 111.8 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.3175, allocations: 163.4 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.3177, allocations: 183.1 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.3178, allocations: 32 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-05/0.3178, allocations: 36 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.3179, allocations: 99.67 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.3181, allocations: 167.1 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.3187, allocations: 0.5525 MB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3187, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3187, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.3187, allocations: 0 / 1.333 GB, free: 10.18 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.001052/0.3198, allocations: 0.6407 MB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3198, allocations: 12.03 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.462e-05/0.3199, allocations: 58.73 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.525e-05/0.32, allocations: 52.59 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/0.3205, allocations: 316.5 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3205, allocations: 16.81 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.3206, allocations: 20.38 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.321, allocations: 211.4 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.321, allocations: 0 / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.321, allocations: 4 kB / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.321, allocations: 8 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.3214, allocations: 161.7 kB / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.3225, allocations: 0.6823 MB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.3228, allocations: 142.6 kB / 1.335 GB, free: 7.738 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.323, allocations: 100.8 kB / 1.335 GB, free: 7.637 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.323, allocations: 0 / 1.335 GB, free: 7.637 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3231, allocations: 34.56 kB / 1.335 GB, free: 7.594 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.3231, allocations: 3.938 kB / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0006004/0.3237, allocations: 270.8 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.3237, allocations: 51.41 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.3242, allocations: 417.7 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3242, allocations: 25.7 kB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3244, allocations: 204.5 kB / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.3244, allocations: 71.42 kB / 1.336 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.3245, allocations: 33.7 kB / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3246, allocations: 346.8 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.3248, allocations: 51.97 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.3249, allocations: 65.69 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.3252, allocations: 137.4 kB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3252, allocations: 0 / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003838/0.3256, allocations: 206.6 kB / 1.337 GB, free: 5.691 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3256, allocations: 4 kB / 1.337 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3256, allocations: 11.88 kB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3256, allocations: 0 / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.3259, allocations: 59.91 kB / 1.337 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3259, allocations: 0 / 1.337 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.326, allocations: 19.88 kB / 1.337 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.3261, allocations: 11.98 kB / 1.337 GB, free: 5.586 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.0001547/0.3262, allocations: 162.4 kB / 1.337 GB, free: 5.418 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.3263, allocations: 35.77 kB / 1.337 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.663e-05/0.3264, allocations: 43.47 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3264, allocations: 4 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3264, allocations: 0 / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3264, allocations: 7.984 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.3268, allocations: 304.5 kB / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3268, allocations: 0 / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.327, allocations: 59.89 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.327, allocations: 0 / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.3271, allocations: 11.94 kB / 1.338 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3271, allocations: 0 / 1.338 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3271, allocations: 0 / 1.338 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.3277, allocations: 385 kB / 1.338 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.33e-05/0.3277, allocations: 35.7 kB / 1.338 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.3278, allocations: 19.86 kB / 1.338 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.328, allocations: 8 kB / 1.338 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.328, allocations: 11.97 kB / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.328, allocations: 4 kB / 1.338 GB, free: 4.445 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003213/0.3283, allocations: 299.2 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3283, allocations: 0 / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000301/0.3286, allocations: 71.89 kB / 1.339 GB, free: 4.086 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.0008895/0.3295, allocations: 0.9338 MB / 1.34 GB, free: 3.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003495/0.3299, allocations: 131.9 kB / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3299, allocations: 0 / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.33, allocations: 75.81 kB / 1.34 GB, free: 2.926 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.3306, allocations: 100.7 kB / 1.34 GB, free: 2.832 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.3351, allocations: 3.478 MB / 1.343 GB, free: 15.27 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.3353, allocations: 190.5 kB / 1.343 GB, free: 15.06 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.3354, allocations: 46.88 kB / 1.344 GB, free: 15.01 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.3356, allocations: 119.3 kB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of SimCode: time 8.42e-07/0.3356, allocations: 0 / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03891/0.3745, allocations: 9.023 MB / 1.352 GB, free: 6.164 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.2, allocations: 7.938 kB / 1.352 GB, free: 6.156 MB / 1.045 GB " [Timeout remaining time 289] (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: 17.619655619986588]