Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.007866/0.007866, allocations: 99.09 kB / 15.73 MB, free: 6.441 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.002044/0.002044, allocations: 196.2 kB / 16.67 MB, free: 6.352 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.89 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3054, allocations: 151.6 MB / 1.166 GB, free: 7.441 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002927/0.3084, allocations: 1.477 MB / 1.168 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.31, allocations: 0.9151 MB / 1.169 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.3101, allocations: 7.938 kB / 1.169 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.3104, allocations: 31.83 kB / 1.169 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.949e-05/0.3105, allocations: 31.78 kB / 1.169 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.3111, allocations: 190.9 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.3113, allocations: 51.67 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.3113, allocations: 4 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.953e-05/0.3114, allocations: 11.94 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.946e-05/0.3115, allocations: 19.92 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.3115, allocations: 0 / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.3119, allocations: 175.7 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.3119, allocations: 7.922 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.312, allocations: 19.88 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.3122, allocations: 123.8 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3122, allocations: 0 / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3122, allocations: 0 / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3123, allocations: 4 kB / 1.169 GB, free: 4.363 MB / 0.92 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.0004239/0.3127, allocations: 372.8 kB / 1.17 GB, free: 3.953 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3127, allocations: 8.031 kB / 1.17 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.404e-05/0.3128, allocations: 110 kB / 1.17 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.447e-05/0.3129, allocations: 84.17 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.3132, allocations: 263.5 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/0.3133, allocations: 154.9 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/0.3133, allocations: 158.8 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.637e-05/0.3134, allocations: 109.1 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.3135, allocations: 75.28 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.3135, allocations: 150.6 kB / 1.171 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-05/0.3136, allocations: 154.6 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.069e-05/0.3137, allocations: 154.6 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.314, allocations: 461.9 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.3141, allocations: 169.1 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.3142, allocations: 80.14 kB / 1.172 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.3142, allocations: 79.28 kB / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.3143, allocations: 113.8 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.3143, allocations: 0 / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.373e-05/0.3144, allocations: 33.59 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.3145, allocations: 134.7 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.3146, allocations: 131.4 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3147, allocations: 25.7 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.3147, allocations: 100.1 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.3147, allocations: 0 / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.3148, allocations: 13.72 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3149, allocations: 318.8 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/0.315, allocations: 4 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/0.315, allocations: 8 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.644e-05/0.315, allocations: 8.859 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.315, allocations: 0 / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001413/0.3152, allocations: 57.59 kB / 1.173 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3152, allocations: 4 kB / 1.173 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.3152, allocations: 4 kB / 1.173 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3153, allocations: 0 / 1.173 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.3153, allocations: 0 / 1.173 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3153, allocations: 0 / 1.173 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/0.3153, allocations: 7.891 kB / 1.173 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.3153, allocations: 4 kB / 1.173 GB, free: 0.6445 MB / 0.92 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 0.0001198/0.3154, allocations: 193 kB / 1.173 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.3155, allocations: 113 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.587e-05/0.3156, allocations: 112.8 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.238e-05/0.3157, allocations: 184.3 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.108e-05/0.3158, allocations: 180.2 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.421e-05/0.3159, allocations: 184.2 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.3162, allocations: 413.3 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.913e-05/0.3162, allocations: 112.8 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.3163, allocations: 101 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.797e-05/0.3163, allocations: 184.2 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-05/0.3164, allocations: 188.1 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.836e-05/0.3165, allocations: 176.3 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.189e-05/0.3166, allocations: 184.2 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.3167, allocations: 315.7 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.3168, allocations: 186 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.3169, allocations: 176.3 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.317, allocations: 112.9 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.3171, allocations: 180.2 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.035e-05/0.3172, allocations: 108.9 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.3172, allocations: 105.3 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3173, allocations: 0 / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002918/0.3175, allocations: 31.88 kB / 1.176 GB, free: 12.95 MB / 0.9356 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.0006162/0.3182, allocations: 0.8554 MB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.3183, allocations: 37.7 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3183, allocations: 3.938 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.3183, allocations: 0 / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.3188, allocations: 471.7 kB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3201, allocations: 1.451 MB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3204, allocations: 0.6885 MB / 1.179 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.3205, allocations: 0 / 1.179 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.3205, allocations: 19.47 kB / 1.179 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of SimCode: time 2.184e-06/0.3205, allocations: 0 / 1.179 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.3449, allocations: 2.722 MB / 1.182 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.07, allocations: 10.14 kB / 1.182 GB, free: 6.723 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches