Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.0008563/0.0008563, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008309/0.0008309, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9066/0.9066, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.758/1.758, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9998 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.339e-05, allocations: 2.281 kB / 0.9998 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00155/0.001563, allocations: 1.437 MB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00284/0.004403, allocations: 2.646 MB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.004432, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.00445, allocations: 7.922 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.004495, allocations: 3.938 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.006804, allocations: 1.624 MB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.248e-05/0.006867, allocations: 43.69 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.039e-05/0.006897, allocations: 7.984 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.00693, allocations: 19.98 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.694e-05/0.006947, allocations: 11.92 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.006957, allocations: 4 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.008188, allocations: 1.45 MB / 1.007 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.0082, allocations: 11.92 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.008215, allocations: 7.938 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009501/0.009165, allocations: 1.243 MB / 1.008 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.009167, allocations: 0 / 1.008 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.009168, allocations: 0 / 1.008 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.009173, allocations: 0 / 1.008 GB, free: 4.855 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003893/0.009562, allocations: 472 kB / 1.009 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.0096, allocations: 12.02 kB / 1.009 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.009642, allocations: 110 kB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.009692, allocations: 88.17 kB / 1.009 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.009795, allocations: 190.5 kB / 1.009 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.009843, allocations: 158.9 kB / 1.009 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.009885, allocations: 150.9 kB / 1.009 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.658e-05/0.009942, allocations: 101.5 kB / 1.009 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.009963, allocations: 75.47 kB / 1.009 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/0.01001, allocations: 158.5 kB / 1.01 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.01004, allocations: 150.6 kB / 1.01 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.11e-05/0.01008, allocations: 154.5 kB / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.0103, allocations: 433 kB / 1.01 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.406e-05/0.01037, allocations: 173.2 kB / 1.01 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.0104, allocations: 84.14 kB / 1.01 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.01042, allocations: 75.28 kB / 1.011 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.01045, allocations: 109.8 kB / 1.011 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.01045, allocations: 0 / 1.011 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.593e-05/0.01051, allocations: 45.52 kB / 1.011 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.01056, allocations: 126.7 kB / 1.011 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.01066, allocations: 139.2 kB / 1.011 GB, free: 1.742 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.01067, allocations: 25.7 kB / 1.011 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.01071, allocations: 88.14 kB / 1.011 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.01071, allocations: 0 / 1.011 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.01074, allocations: 21.72 kB / 1.011 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002784/0.01102, allocations: 318.8 kB / 1.011 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.01104, allocations: 4 kB / 1.011 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.01105, allocations: 8 kB / 1.011 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.347e-05/0.01108, allocations: 12.8 kB / 1.011 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01108, allocations: 0 / 1.011 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001038/0.01119, allocations: 49.64 kB / 1.011 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.0112, allocations: 11.94 kB / 1.011 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.01122, allocations: 0 / 1.011 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01123, allocations: 8 kB / 1.011 GB, free: 1.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.173e-06/0.01123, allocations: 0 / 1.011 GB, free: 1.172 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.01124, allocations: 4.062 kB / 1.011 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.01125, allocations: 0 / 1.011 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.01126, allocations: 3.938 kB / 1.011 GB, free: 1.164 MB / 0.9636 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.791e-05/0.01132, allocations: 185.1 kB / 1.012 GB, free: 0.9727 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.01136, allocations: 116.9 kB / 1.012 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.0114, allocations: 116.7 kB / 1.012 GB, free: 0.7305 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-05/0.01144, allocations: 180.3 kB / 1.012 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.457e-05/0.01148, allocations: 180.2 kB / 1.012 GB, free: 372 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-05/0.01153, allocations: 180.2 kB / 1.012 GB, free: 184 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.01168, allocations: 388.2 kB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-05/0.01171, allocations: 105 kB / 1.013 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.01174, allocations: 105 kB / 1.013 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.511e-05/0.01178, allocations: 180.2 kB / 1.013 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.01183, allocations: 184.2 kB / 1.013 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.38e-05/0.01187, allocations: 184.2 kB / 1.013 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.001e-05/0.01191, allocations: 176.3 kB / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.142e-05/0.01201, allocations: 315.7 kB / 1.014 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.01204, allocations: 105 kB / 1.014 GB, free: 14.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.01209, allocations: 188.1 kB / 1.014 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.745e-05/0.01214, allocations: 101.3 kB / 1.014 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.01219, allocations: 184.3 kB / 1.015 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.01221, allocations: 108.9 kB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.01226, allocations: 100.3 kB / 1.015 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01226, allocations: 0 / 1.015 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004242/0.01268, allocations: 291 kB / 1.015 GB, free: 13.37 MB / 0.9792 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 (0): * Single equations (assignments): 0 * 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.000904/0.01359, allocations: 1.21 MB / 1.016 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 8.599e-05/0.01367, allocations: 41.64 kB / 1.016 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01367, allocations: 4.062 kB / 1.016 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.01367, allocations: 0 / 1.016 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.01395, allocations: 459.7 kB / 1.017 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009396/0.01489, allocations: 1.573 MB / 1.018 GB, free: 9.973 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.293e-05/0.01493, allocations: 71.25 kB / 1.018 GB, free: 9.883 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 1.142e-05/0.01494, allocations: 0 / 1.018 GB, free: 9.883 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.01497, allocations: 20.52 kB / 1.018 GB, free: 9.863 MB / 0.9792 GB Notification: Performance of SimCode: time 7.51e-07/0.01497, allocations: 0 / 1.018 GB, free: 9.863 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.03323, allocations: 7.821 MB / 1.026 GB, free: 2.27 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.683/6.716, allocations: 7.484 kB / 1.026 GB, free: 2.266 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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: 10.777601822279394]