Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001803/0.001803, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002244/0.002244, allocations: 213.3 kB / 22.25 MB, free: 4.855 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.785 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.128/3.128, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.002027/0.002027, allocations: 67.83 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3262, allocations: 176.1 MB / 1.325 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005476/0.3317, allocations: 3.808 MB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003445/0.3351, allocations: 2.234 MB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.3354, allocations: 12 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.3368, allocations: 0.5066 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.3373, allocations: 250 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.3375, allocations: 135.9 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008089/0.3383, allocations: 0.8175 MB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.3387, allocations: 211 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004089/0.3391, allocations: 307 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.3394, allocations: 278.6 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.018e-05/0.3395, allocations: 76 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3397, allocations: 76 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.3398, allocations: 171.4 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.3401, allocations: 314.6 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009605/0.3411, allocations: 0.9963 MB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3411, allocations: 0 / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3411, allocations: 4 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.3411, allocations: 0 / 1.335 GB, free: 8.082 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001437/0.3425, allocations: 0.886 MB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3426, allocations: 16.02 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.907e-05/0.3427, allocations: 86.72 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.3428, allocations: 76.47 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006619/0.3434, allocations: 408.1 kB / 1.336 GB, free: 6.555 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.3435, allocations: 41.38 kB / 1.336 GB, free: 6.516 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/0.3436, allocations: 48.38 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/0.3443, allocations: 430.5 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.3443, allocations: 3.984 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.3444, allocations: 20 kB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.3444, allocations: 12 kB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007201/0.3451, allocations: 363.8 kB / 1.337 GB, free: 5.652 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.3471, allocations: 1.253 MB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.3476, allocations: 312 kB / 1.339 GB, free: 4.031 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.3481, allocations: 289 kB / 1.339 GB, free: 3.746 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3481, allocations: 16.61 kB / 1.339 GB, free: 3.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.3482, allocations: 34.56 kB / 1.339 GB, free: 3.688 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 1.743e-06/0.3482, allocations: 0 / 1.339 GB, free: 3.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.0009871/0.3491, allocations: 0.489 MB / 1.34 GB, free: 3.191 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.3492, allocations: 63.19 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005577/0.3498, allocations: 481.9 kB / 1.34 GB, free: 2.641 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.3498, allocations: 37.7 kB / 1.34 GB, free: 2.598 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.35, allocations: 272.7 kB / 1.34 GB, free: 2.324 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.3501, allocations: 158.6 kB / 1.341 GB, free: 2.168 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3502, allocations: 58.08 kB / 1.341 GB, free: 2.102 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.3504, allocations: 366.7 kB / 1.341 GB, free: 1.734 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.3507, allocations: 124.7 kB / 1.341 GB, free: 1.613 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.3509, allocations: 129.2 kB / 1.341 GB, free: 1.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.3515, allocations: 290.4 kB / 1.342 GB, free: 1.203 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3515, allocations: 0 / 1.342 GB, free: 1.203 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006939/0.3522, allocations: 404.4 kB / 1.342 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3522, allocations: 4 kB / 1.342 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3522, allocations: 4 kB / 1.342 GB, free: 0.793 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3522, allocations: 0 / 1.342 GB, free: 0.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.3527, allocations: 127.9 kB / 1.342 GB, free: 0.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3527, allocations: 3.984 kB / 1.342 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.3529, allocations: 39.72 kB / 1.342 GB, free: 0.625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.353, allocations: 12 kB / 1.342 GB, free: 0.6133 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 (46): * Single equations (assignments): 46 * 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.0002262/0.3532, allocations: 198.3 kB / 1.342 GB, free: 420 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.3533, allocations: 55.61 kB / 1.342 GB, free: 364 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.3534, allocations: 57.11 kB / 1.342 GB, free: 308 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3534, allocations: 4 kB / 1.342 GB, free: 304 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.3534, allocations: 0 / 1.342 GB, free: 304 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3534, allocations: 7.984 kB / 1.342 GB, free: 296 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.354, allocations: 484.3 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.354, allocations: 7.938 kB / 1.343 GB, free: 15.76 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/0.3545, allocations: 123.9 kB / 1.343 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.3545, allocations: 4 kB / 1.343 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.3546, allocations: 7.984 kB / 1.343 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.3546, allocations: 4 kB / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3546, allocations: 0 / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.3556, allocations: 0.656 MB / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3557, allocations: 63.5 kB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.3558, allocations: 12 kB / 1.344 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.356, allocations: 8 kB / 1.344 GB, free: 14.87 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.356, allocations: 27.95 kB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.3561, allocations: 11.98 kB / 1.344 GB, free: 14.83 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004004/0.3565, allocations: 347.1 kB / 1.344 GB, free: 14.49 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3565, allocations: 0 / 1.344 GB, free: 14.49 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004087/0.3569, allocations: 147.7 kB / 1.344 GB, free: 14.35 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.001322/0.3582, allocations: 1.21 MB / 1.345 GB, free: 13.11 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000585/0.3588, allocations: 303.9 kB / 1.346 GB, free: 12.82 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3588, allocations: 4 kB / 1.346 GB, free: 12.81 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.3591, allocations: 167.6 kB / 1.346 GB, free: 12.65 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.3597, allocations: 134.2 kB / 1.346 GB, free: 12.52 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006564/0.3663, allocations: 4.841 MB / 1.351 GB, free: 7.602 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.3665, allocations: 275 kB / 1.351 GB, free: 7.309 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002056/0.3667, allocations: 56.3 kB / 1.351 GB, free: 7.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.367, allocations: 187.4 kB / 1.351 GB, free: 7.066 MB / 1.045 GB Notification: Performance of SimCode: time 7.61e-07/0.367, allocations: 3.938 kB / 1.351 GB, free: 7.062 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04332/0.4103, allocations: 12.61 MB / 1.364 GB, free: 10.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.54, allocations: 14.06 kB / 1.364 GB, free: 10.76 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.137522326782346]