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.009034/0.009034, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00199/0.00199, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.361/2.361, allocations: 390.3 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 66.58 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2465, allocations: 140.4 MB / 1.088 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004043/0.2506, allocations: 3.052 MB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002804/0.2534, allocations: 2.136 MB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.2537, allocations: 8 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.2552, allocations: 0.4985 MB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.2556, allocations: 150.8 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.2558, allocations: 59.94 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000558/0.2563, allocations: 449.8 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.2566, allocations: 151 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.2568, allocations: 159.3 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.2571, allocations: 175.2 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.2571, allocations: 32 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.698e-05/0.2572, allocations: 36 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2573, allocations: 103.6 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.2575, allocations: 223 kB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.258, allocations: 0.541 MB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.258, allocations: 8 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2581, allocations: 0 / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.2581, allocations: 3.938 kB / 1.095 GB, free: 10.12 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.001074/0.2592, allocations: 0.6967 MB / 1.096 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.2592, allocations: 8.031 kB / 1.096 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.535e-05/0.2593, allocations: 62.72 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.2594, allocations: 44.38 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007087/0.2602, allocations: 374.1 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.2602, allocations: 16.81 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.2602, allocations: 20.31 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.2607, allocations: 211.4 kB / 1.096 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.2607, allocations: 3.938 kB / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.2608, allocations: 12 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.2608, allocations: 4 kB / 1.096 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.2612, allocations: 161.7 kB / 1.097 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.2624, allocations: 0.8661 MB / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.2627, allocations: 160.1 kB / 1.098 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.2629, allocations: 108.8 kB / 1.098 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.2629, allocations: 0 / 1.098 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.2629, allocations: 42.56 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.2629, allocations: 0 / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0005982/0.2636, allocations: 254.9 kB / 1.098 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.2636, allocations: 55.31 kB / 1.098 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.264, allocations: 421.7 kB / 1.098 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.2641, allocations: 29.7 kB / 1.099 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.2642, allocations: 204.2 kB / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.2642, allocations: 63.09 kB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.2643, allocations: 33.72 kB / 1.099 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2644, allocations: 346.8 kB / 1.099 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.2646, allocations: 51.97 kB / 1.099 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.2647, allocations: 65.84 kB / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.265, allocations: 130.2 kB / 1.099 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.265, allocations: 0 / 1.099 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003752/0.2654, allocations: 211.3 kB / 1.1 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2654, allocations: 4 kB / 1.1 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2654, allocations: 7.938 kB / 1.1 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2655, allocations: 0 / 1.1 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.2657, allocations: 55.95 kB / 1.1 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2657, allocations: 4 kB / 1.1 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.2659, allocations: 15.84 kB / 1.1 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.2659, allocations: 8 kB / 1.1 GB, free: 5.184 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.000147/0.266, allocations: 165.8 kB / 1.1 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.2661, allocations: 35.53 kB / 1.1 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.703e-05/0.2662, allocations: 47.52 kB / 1.1 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2662, allocations: 4 kB / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2662, allocations: 0 / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2662, allocations: 0 / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.2666, allocations: 373.3 kB / 1.1 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2666, allocations: 3.938 kB / 1.1 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.2669, allocations: 51.95 kB / 1.1 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2669, allocations: 4 kB / 1.1 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.2669, allocations: 11.88 kB / 1.1 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.2669, allocations: 7.938 kB / 1.1 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2669, allocations: 0 / 1.1 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.2675, allocations: 377 kB / 1.101 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.2676, allocations: 120.6 kB / 1.101 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.2677, allocations: 7.938 kB / 1.101 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.2678, allocations: 4 kB / 1.101 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.2679, allocations: 15.98 kB / 1.101 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-06/0.2679, allocations: 4 kB / 1.101 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003039/0.2682, allocations: 303.1 kB / 1.101 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2682, allocations: 4.062 kB / 1.101 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002989/0.2685, allocations: 71.84 kB / 1.101 GB, free: 3.504 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.000834/0.2694, allocations: 0.9228 MB / 1.102 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.2697, allocations: 143.8 kB / 1.102 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2698, allocations: 0 / 1.102 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.2699, allocations: 86.47 kB / 1.102 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.2705, allocations: 103.7 kB / 1.102 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.2747, allocations: 3.486 MB / 1.106 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.2751, allocations: 0.7989 MB / 1.107 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.2753, allocations: 42.94 kB / 1.107 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.2754, allocations: 111.4 kB / 1.107 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/0.2754, allocations: 0 / 1.107 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.3023, allocations: 7.979 MB / 1.115 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.273, allocations: 17.14 kB / 1.115 GB, free: 5.977 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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