Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001414/0.001414, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001432/0.001432, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.525/2.525, allocations: 476.7 MB / 0.7628 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.89 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7707/0.7725, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002166/0.7747, allocations: 1.502 MB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.7757, allocations: 0.908 MB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.7758, allocations: 2.656 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.7759, allocations: 36.19 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.346e-05/0.7759, allocations: 24.53 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.7764, allocations: 196 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.622e-05/0.7764, allocations: 47.8 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.7765, allocations: 12.88 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.7765, allocations: 21.75 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.414e-05/0.7766, allocations: 12.14 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.7766, allocations: 0.9062 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.7769, allocations: 176 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.7769, allocations: 4.875 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.7769, allocations: 19.59 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.7771, allocations: 124.1 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.7771, allocations: 0 / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7771, allocations: 0.9062 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.7771, allocations: 4 kB / 1.274 GB, free: 5.789 MB / 0.9981 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.000238/0.7773, allocations: 369.2 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.7774, allocations: 9.531 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.205e-05/0.7774, allocations: 106 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.7774, allocations: 87.42 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.7776, allocations: 263.9 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.7776, allocations: 158.9 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.7777, allocations: 151.8 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.805e-05/0.7778, allocations: 106.2 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.7778, allocations: 75.28 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.7778, allocations: 151.6 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.7778, allocations: 151.6 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.618e-05/0.7779, allocations: 155.3 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.778, allocations: 464.3 kB / 1.277 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.394e-05/0.778, allocations: 174.1 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.346e-05/0.7781, allocations: 84.14 kB / 1.277 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.7781, allocations: 82.05 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.7781, allocations: 110.6 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.7781, allocations: 0 / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.744e-05/0.7781, allocations: 33.14 kB / 1.277 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.7782, allocations: 126.7 kB / 1.277 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.7783, allocations: 142.8 kB / 1.277 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-06/0.7783, allocations: 25.7 kB / 1.277 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.508e-05/0.7783, allocations: 97.72 kB / 1.277 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.7783, allocations: 0 / 1.277 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.7783, allocations: 13.69 kB / 1.277 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.346e-05/0.7784, allocations: 319.8 kB / 1.278 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.7784, allocations: 2.859 kB / 1.278 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.219e-05/0.7784, allocations: 3.125 kB / 1.278 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.7784, allocations: 18.88 kB / 1.278 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.7784, allocations: 0 / 1.278 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.76e-05/0.7785, allocations: 61.77 kB / 1.278 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.7785, allocations: 9.438 kB / 1.278 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.7785, allocations: 1.75 kB / 1.278 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.7786, allocations: 0 / 1.278 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.7786, allocations: 1.281 kB / 1.278 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.7786, allocations: 0 / 1.278 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.7786, allocations: 1.406 kB / 1.278 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.7786, allocations: 0 / 1.278 GB, free: 2.227 MB / 0.9981 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 4.049e-05/0.7786, allocations: 184.2 kB / 1.278 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.7787, allocations: 120.9 kB / 1.278 GB, free: 17.92 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/0.7787, allocations: 118 kB / 1.278 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.595e-05/0.7788, allocations: 177.2 kB / 1.278 GB, free: 17.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.735e-05/0.7789, allocations: 181.5 kB / 1.279 GB, free: 17.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.975e-05/0.7789, allocations: 178.9 kB / 1.279 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.7792, allocations: 417.8 kB / 1.279 GB, free: 16.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-05/0.7792, allocations: 109.5 kB / 1.279 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.7792, allocations: 102.2 kB / 1.279 GB, free: 16.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.065e-05/0.7793, allocations: 182.1 kB / 1.279 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/0.7794, allocations: 177.5 kB / 1.28 GB, free: 16.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.759e-05/0.7794, allocations: 178.5 kB / 1.28 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.888e-05/0.7795, allocations: 194.1 kB / 1.28 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.7796, allocations: 303.2 kB / 1.28 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/0.7797, allocations: 189 kB / 1.28 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.7798, allocations: 182.2 kB / 1.281 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.7799, allocations: 114.3 kB / 1.281 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.7799, allocations: 178.8 kB / 1.281 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.78, allocations: 105.6 kB / 1.281 GB, free: 14.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.173e-05/0.78, allocations: 108 kB / 1.281 GB, free: 14.65 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.78, allocations: 0 / 1.281 GB, free: 14.65 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002453/0.7803, allocations: 35.06 kB / 1.281 GB, free: 14.64 MB / 1.014 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.0004948/0.7808, allocations: 0.8615 MB / 1.282 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.575e-05/0.7809, allocations: 38.14 kB / 1.282 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7809, allocations: 0 / 1.282 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.7809, allocations: 0.75 kB / 1.282 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.7813, allocations: 472.9 kB / 1.283 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.7823, allocations: 1.469 MB / 1.284 GB, free: 11.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.7826, allocations: 0.6829 MB / 1.285 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.7826, allocations: 3.969 kB / 1.285 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.7826, allocations: 14.83 kB / 1.285 GB, free: 11.23 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.7826, allocations: 4.031 kB / 1.285 GB, free: 11.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.807, allocations: 2.692 MB / 1.287 GB, free: 10.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.777, allocations: 7.656 kB / 1.287 GB, free: 10.8 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable x in file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv. Warning: Get data of variable x from file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.17591090300266]