Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 103.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.722/2.722, allocations: 497.2 MB / 0.7812 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 71.88 kB / 1.134 GB, free: 13.15 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8684/0.8703, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003361/0.8737, allocations: 3.059 MB / 1.307 GB, free: 30.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.8757, allocations: 2.16 MB / 1.309 GB, free: 28.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.8759, allocations: 6 kB / 1.309 GB, free: 28.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.8771, allocations: 0.5114 MB / 1.31 GB, free: 28.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.8774, allocations: 139.2 kB / 1.31 GB, free: 28.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.8775, allocations: 61.92 kB / 1.31 GB, free: 28.08 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.8778, allocations: 441.9 kB / 1.31 GB, free: 27.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.878, allocations: 105.2 kB / 1.31 GB, free: 27.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.8781, allocations: 159.9 kB / 1.31 GB, free: 27.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.8783, allocations: 178.5 kB / 1.311 GB, free: 27.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.8783, allocations: 34.66 kB / 1.311 GB, free: 27.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.976e-05/0.8784, allocations: 33.91 kB / 1.311 GB, free: 27.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.8785, allocations: 99.92 kB / 1.311 GB, free: 27.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.8786, allocations: 218.7 kB / 1.311 GB, free: 27.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.879, allocations: 0.5441 MB / 1.312 GB, free: 27.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.879, allocations: 0 / 1.312 GB, free: 27.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/0.879, allocations: 4 kB / 1.312 GB, free: 27.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.879, allocations: 0 / 1.312 GB, free: 27.23 MB / 1.061 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.0008353/0.8798, allocations: 0.7066 MB / 1.312 GB, free: 26.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.8799, allocations: 14.88 kB / 1.312 GB, free: 26.66 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.8799, allocations: 55.22 kB / 1.312 GB, free: 26.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.88, allocations: 48.03 kB / 1.312 GB, free: 26.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.8804, allocations: 372.5 kB / 1.313 GB, free: 26.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.8804, allocations: 17.62 kB / 1.313 GB, free: 26.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.8804, allocations: 22.75 kB / 1.313 GB, free: 26.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.8808, allocations: 208 kB / 1.313 GB, free: 26.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.8808, allocations: 2.812 kB / 1.313 GB, free: 26.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.8808, allocations: 12 kB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.8808, allocations: 6.062 kB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.8812, allocations: 162.6 kB / 1.313 GB, free: 26.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009284/0.8821, allocations: 0.8629 MB / 1.314 GB, free: 25.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.8823, allocations: 152.4 kB / 1.314 GB, free: 25.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.8825, allocations: 108.7 kB / 1.314 GB, free: 25.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.8825, allocations: 0 / 1.314 GB, free: 25.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.8825, allocations: 33.44 kB / 1.314 GB, free: 25.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 9.32e-07/0.8825, allocations: 0 / 1.314 GB, free: 25.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0004997/0.883, allocations: 259.9 kB / 1.314 GB, free: 25.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.8831, allocations: 59.31 kB / 1.315 GB, free: 25.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.8834, allocations: 414.3 kB / 1.315 GB, free: 24.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.8834, allocations: 29.7 kB / 1.315 GB, free: 24.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.312e-05/0.8835, allocations: 208.4 kB / 1.315 GB, free: 24.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.8835, allocations: 64 kB / 1.315 GB, free: 24.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.8836, allocations: 40.73 kB / 1.315 GB, free: 24.65 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.8837, allocations: 345.4 kB / 1.316 GB, free: 24.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.8838, allocations: 57.39 kB / 1.316 GB, free: 24.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.8839, allocations: 56.48 kB / 1.316 GB, free: 24.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.8841, allocations: 135.2 kB / 1.316 GB, free: 24.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.8841, allocations: 0 / 1.316 GB, free: 24.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003122/0.8844, allocations: 211.9 kB / 1.316 GB, free: 24.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.8844, allocations: 5.375 kB / 1.316 GB, free: 24.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8845, allocations: 3.938 kB / 1.316 GB, free: 24.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.8845, allocations: 6.297 kB / 1.316 GB, free: 24.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.8847, allocations: 48.31 kB / 1.316 GB, free: 24.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.8847, allocations: 0 / 1.316 GB, free: 24.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.8848, allocations: 25.17 kB / 1.316 GB, free: 24.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.8848, allocations: 9.688 kB / 1.316 GB, free: 24.1 MB / 1.061 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.0001237/0.885, allocations: 168.4 kB / 1.316 GB, free: 23.95 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.885, allocations: 37.14 kB / 1.316 GB, free: 23.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.933e-05/0.8851, allocations: 46.39 kB / 1.316 GB, free: 23.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8851, allocations: 2.812 kB / 1.316 GB, free: 23.9 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.8851, allocations: 3.469 kB / 1.316 GB, free: 23.9 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8851, allocations: 0 / 1.316 GB, free: 23.9 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.8854, allocations: 368.8 kB / 1.317 GB, free: 23.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.8854, allocations: 0 / 1.317 GB, free: 23.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.8856, allocations: 61.05 kB / 1.317 GB, free: 23.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.8856, allocations: 0 / 1.317 GB, free: 23.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.8857, allocations: 10.69 kB / 1.317 GB, free: 23.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8857, allocations: 0 / 1.317 GB, free: 23.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8857, allocations: 0 / 1.317 GB, free: 23.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.8861, allocations: 381.6 kB / 1.317 GB, free: 23.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.8862, allocations: 118.3 kB / 1.317 GB, free: 23.26 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.8863, allocations: 10.03 kB / 1.317 GB, free: 23.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.8864, allocations: 7.828 kB / 1.317 GB, free: 23.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.8864, allocations: 12.23 kB / 1.317 GB, free: 23.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.8865, allocations: 8.938 kB / 1.317 GB, free: 23.24 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002341/0.8867, allocations: 297.7 kB / 1.318 GB, free: 23.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8867, allocations: 0 / 1.318 GB, free: 23.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002795/0.887, allocations: 75.42 kB / 1.318 GB, free: 23.08 MB / 1.061 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.0006333/0.8876, allocations: 0.9262 MB / 1.319 GB, free: 22.31 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002975/0.8879, allocations: 145.4 kB / 1.319 GB, free: 22.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8879, allocations: 0 / 1.319 GB, free: 22.27 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.888, allocations: 78.14 kB / 1.319 GB, free: 22.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.8885, allocations: 89.95 kB / 1.319 GB, free: 22.2 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.8919, allocations: 3.491 MB / 1.322 GB, free: 20.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.8921, allocations: 0.8008 MB / 1.323 GB, free: 19.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.8923, allocations: 31.44 kB / 1.323 GB, free: 19.4 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.8924, allocations: 117.8 kB / 1.323 GB, free: 19.31 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/0.8924, allocations: 0 / 1.323 GB, free: 19.31 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03682/0.9292, allocations: 8.002 MB / 1.331 GB, free: 18.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/9.304, allocations: 13.66 kB / 1.331 GB, free: 18.42 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.1880998108536]