Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.008765/0.008765, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.001818/0.001818, allocations: 194 kB / 16.67 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.397/2.397, allocations: 390.3 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 62.8 kB / 0.9504 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2304, allocations: 140.4 MB / 1.088 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00491/0.2354, allocations: 4.153 MB / 1.092 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003461/0.2389, allocations: 2.412 MB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005782/0.2395, allocations: 12 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.2415, allocations: 0.541 MB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007541/0.2422, allocations: 246 kB / 1.095 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.2426, allocations: 135.9 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.2436, allocations: 0.8137 MB / 1.096 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005008/0.2442, allocations: 330.5 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004418/0.2446, allocations: 287 kB / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.2451, allocations: 326.6 kB / 1.097 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.2452, allocations: 76 kB / 1.097 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.2454, allocations: 72 kB / 1.097 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.2456, allocations: 175.4 kB / 1.097 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.246, allocations: 386.2 kB / 1.097 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008913/0.2469, allocations: 0.9928 MB / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2469, allocations: 4 kB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2469, allocations: 0 / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.655e-05/0.247, allocations: 0 / 1.098 GB, free: 7.059 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001568/0.2485, allocations: 0.9463 MB / 1.099 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2486, allocations: 12.03 kB / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.836e-05/0.2487, allocations: 94.64 kB / 1.099 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.2488, allocations: 72.09 kB / 1.099 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.2495, allocations: 457.7 kB / 1.1 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.2495, allocations: 45.31 kB / 1.1 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.2496, allocations: 52.28 kB / 1.1 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.2503, allocations: 430.6 kB / 1.1 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2504, allocations: 0 / 1.1 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.2504, allocations: 20 kB / 1.1 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.2504, allocations: 12 kB / 1.1 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006834/0.2511, allocations: 367.8 kB / 1.101 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.2532, allocations: 1.512 MB / 1.102 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.2537, allocations: 344.4 kB / 1.102 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004525/0.2541, allocations: 332.4 kB / 1.103 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.2542, allocations: 7.938 kB / 1.103 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2542, allocations: 38.55 kB / 1.103 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.2542, allocations: 0 / 1.103 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42): time 0.000948/0.2552, allocations: 0.4891 MB / 1.103 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.2552, allocations: 59.41 kB / 1.103 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.2558, allocations: 489.9 kB / 1.104 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.2558, allocations: 29.7 kB / 1.104 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.256, allocations: 276.4 kB / 1.104 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.2561, allocations: 149.8 kB / 1.104 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.2562, allocations: 62.08 kB / 1.104 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2563, allocations: 362.8 kB / 1.105 GB, free: 220 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.2566, allocations: 124.7 kB / 1.105 GB, free: 96 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.2568, allocations: 129.2 kB / 1.105 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/0.2573, allocations: 294 kB / 1.105 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2574, allocations: 0 / 1.105 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006424/0.258, allocations: 396.4 kB / 1.106 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.258, allocations: 8 kB / 1.106 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.258, allocations: 4 kB / 1.106 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2581, allocations: 0 / 1.106 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.2586, allocations: 123.9 kB / 1.106 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.2586, allocations: 4 kB / 1.106 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.2588, allocations: 35.58 kB / 1.106 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.2589, allocations: 12 kB / 1.106 GB, free: 15.1 MB / 0.8731 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 (46): * Single equations (assignments): 46 * 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.0002193/0.2591, allocations: 201.7 kB / 1.106 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/0.2592, allocations: 55.38 kB / 1.106 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2593, allocations: 57.11 kB / 1.106 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2593, allocations: 4 kB / 1.106 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2593, allocations: 3.984 kB / 1.106 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2593, allocations: 0 / 1.106 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000637/0.26, allocations: 0.579 MB / 1.107 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.26, allocations: 3.938 kB / 1.107 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/0.2605, allocations: 123.9 kB / 1.107 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.2605, allocations: 8 kB / 1.107 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.2606, allocations: 4 kB / 1.107 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2606, allocations: 7.938 kB / 1.107 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2606, allocations: 0 / 1.107 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009615/0.2615, allocations: 0.6446 MB / 1.107 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.2617, allocations: 144.3 kB / 1.107 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.453e-05/0.2618, allocations: 20 kB / 1.107 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.262, allocations: 11.98 kB / 1.108 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.2621, allocations: 27.91 kB / 1.108 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.2621, allocations: 8 kB / 1.108 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003938/0.2625, allocations: 355.1 kB / 1.108 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2625, allocations: 0 / 1.108 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004226/0.2629, allocations: 139.7 kB / 1.108 GB, free: 12.63 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.001232/0.2642, allocations: 1.215 MB / 1.109 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005988/0.2648, allocations: 311.7 kB / 1.109 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.2648, allocations: 4 kB / 1.109 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.2651, allocations: 180.2 kB / 1.11 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.2658, allocations: 134.6 kB / 1.11 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006585/0.2724, allocations: 4.84 MB / 1.115 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.2728, allocations: 0.8742 MB / 1.115 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.273, allocations: 52.39 kB / 1.115 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.2733, allocations: 193.7 kB / 1.116 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of SimCode: time 8.32e-07/0.2733, allocations: 0 / 1.116 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.3064, allocations: 11.44 MB / 1.127 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.426, allocations: 6.188 kB / 1.127 GB, free: 9.582 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches