Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007753/0.007753, allocations: 99.31 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 186.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 62.59 kB / 0.9504 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2408, allocations: 140.4 MB / 1.088 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00406/0.2449, allocations: 3.045 MB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00285/0.2478, allocations: 2.132 MB / 1.093 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.2481, allocations: 11.94 kB / 1.093 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.2496, allocations: 0.4986 MB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003789/0.25, allocations: 150.8 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.2501, allocations: 55.94 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005537/0.2507, allocations: 455.8 kB / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.251, allocations: 159 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.2512, allocations: 159.3 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.2515, allocations: 179.1 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.517e-05/0.2516, allocations: 36 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.139e-05/0.2516, allocations: 36 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.2517, allocations: 91.67 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.252, allocations: 226.9 kB / 1.095 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.2525, allocations: 0.545 MB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2525, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2525, allocations: 4 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.2525, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 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.001083/0.2536, allocations: 0.6967 MB / 1.096 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2536, allocations: 8.031 kB / 1.096 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.828e-05/0.2537, allocations: 58.73 kB / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.2538, allocations: 44.38 kB / 1.096 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/0.2543, allocations: 382 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.2544, allocations: 16.81 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.2544, allocations: 20.38 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.2548, allocations: 203.4 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.2548, allocations: 0 / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.2549, allocations: 8 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.2549, allocations: 12 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.2552, allocations: 161.6 kB / 1.097 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.2564, allocations: 0.8777 MB / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.2567, allocations: 146.6 kB / 1.098 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.2569, allocations: 108.8 kB / 1.098 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2569, allocations: 4 kB / 1.098 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.257, allocations: 38.5 kB / 1.098 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.257, allocations: 0 / 1.098 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0006013/0.2576, allocations: 259.4 kB / 1.098 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.2576, allocations: 59.31 kB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/0.2581, allocations: 413.7 kB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2581, allocations: 29.7 kB / 1.099 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.2583, allocations: 208.2 kB / 1.099 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.2583, allocations: 59.09 kB / 1.099 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.2584, allocations: 41.7 kB / 1.099 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2585, allocations: 346.8 kB / 1.099 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.2587, allocations: 55.97 kB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.2588, allocations: 61.8 kB / 1.099 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.2591, allocations: 134.2 kB / 1.099 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2591, allocations: 0 / 1.099 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003794/0.2595, allocations: 207.4 kB / 1.1 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2595, allocations: 8 kB / 1.1 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2595, allocations: 3.938 kB / 1.1 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2595, allocations: 0 / 1.1 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.2598, allocations: 59.91 kB / 1.1 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2598, allocations: 0 / 1.1 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.26, allocations: 15.83 kB / 1.1 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.26, allocations: 8 kB / 1.1 GB, free: 5.375 MB / 0.8575 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.0001495/0.2601, allocations: 165.8 kB / 1.1 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.2602, allocations: 39.53 kB / 1.1 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.484e-05/0.2603, allocations: 39.53 kB / 1.1 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2603, allocations: 4 kB / 1.1 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2603, allocations: 0 / 1.1 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2603, allocations: 0 / 1.1 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.2607, allocations: 373.3 kB / 1.1 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2607, allocations: 7.875 kB / 1.1 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.261, allocations: 55.97 kB / 1.1 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.261, allocations: 0 / 1.1 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.261, allocations: 11.94 kB / 1.1 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.261, allocations: 4 kB / 1.1 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.261, allocations: 0 / 1.1 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.2616, allocations: 378.9 kB / 1.101 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.2617, allocations: 116.6 kB / 1.101 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.2618, allocations: 11.94 kB / 1.101 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.2619, allocations: 15.92 kB / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.262, allocations: 7.984 kB / 1.101 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.262, allocations: 4 kB / 1.101 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003129/0.2623, allocations: 303.2 kB / 1.101 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2623, allocations: 0 / 1.101 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003021/0.2626, allocations: 71.84 kB / 1.101 GB, free: 3.695 MB / 0.8575 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.0008506/0.2635, allocations: 0.9212 MB / 1.102 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.2639, allocations: 151.9 kB / 1.102 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2639, allocations: 0 / 1.102 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.264, allocations: 79.81 kB / 1.102 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.2646, allocations: 104.3 kB / 1.102 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.2691, allocations: 3.478 MB / 1.106 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.2695, allocations: 0.7989 MB / 1.107 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.2697, allocations: 34.95 kB / 1.107 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.2699, allocations: 119.4 kB / 1.107 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of SimCode: time 8.82e-07/0.2699, allocations: 4 kB / 1.107 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.2993, allocations: 8.091 MB / 1.115 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.059/8.359, allocations: 14.52 kB / 1.115 GB, free: 6.059 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches