Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_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.007873/0.007873, allocations: 101.3 kB / 15.73 MB, free: 6.004 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.001143/0.001143, allocations: 187 kB / 16.67 MB, free: 5.922 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.431/2.431, allocations: 469.4 MB / 0.7421 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 1.064 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7865/0.7879, allocations: 159.1 MB / 1.22 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002904/0.7909, allocations: 1.479 MB / 1.221 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.7925, allocations: 0.8966 MB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.279e-05/0.7926, allocations: 0 / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.7928, allocations: 47.75 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.7929, allocations: 11.86 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.7935, allocations: 202.2 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.7936, allocations: 47.67 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.7937, allocations: 4 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.7937, allocations: 27.84 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.967e-05/0.7938, allocations: 15.88 kB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.7938, allocations: 0 / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003818/0.7942, allocations: 179.8 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.7942, allocations: 0 / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.7942, allocations: 19.88 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.7945, allocations: 123.2 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7945, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.206e-06/0.7945, allocations: 4 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.7945, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 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.0003935/0.7949, allocations: 375 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.795, allocations: 8.625 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.357e-05/0.795, allocations: 110 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.7951, allocations: 84.17 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.7954, allocations: 271.5 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/0.7955, allocations: 150.9 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/0.7955, allocations: 150.9 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.986e-05/0.7956, allocations: 105.1 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.7956, allocations: 79.28 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.7957, allocations: 150.6 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.317e-05/0.7957, allocations: 154.6 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.4e-05/0.7958, allocations: 150.6 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.7961, allocations: 473.8 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.867e-05/0.7962, allocations: 173.1 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.358e-05/0.7962, allocations: 84.14 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.7963, allocations: 75.28 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.7963, allocations: 109.8 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.7963, allocations: 0 / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.722e-05/0.7964, allocations: 41.62 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.7965, allocations: 126.7 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.7967, allocations: 139.5 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.7967, allocations: 25.7 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.7967, allocations: 92.09 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.7967, allocations: 0 / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.7968, allocations: 21.7 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.7969, allocations: 322.8 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.797, allocations: 4 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.291e-05/0.797, allocations: 0 / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.797, allocations: 20.84 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.797, allocations: 0 / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000126/0.7972, allocations: 49.58 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.7972, allocations: 6.031 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.7972, allocations: 0 / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.7972, allocations: 4 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.7972, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7973, allocations: 4.062 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.816e-05/0.7973, allocations: 7.938 kB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.7973, allocations: 0 / 1.226 GB, free: 11.53 MB / 0.9512 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.0001087/0.7974, allocations: 189.1 kB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.7975, allocations: 112.9 kB / 1.226 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.7976, allocations: 112.8 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-05/0.7976, allocations: 180.2 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.861e-05/0.7977, allocations: 188.2 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.911e-05/0.7978, allocations: 180.3 kB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.7981, allocations: 413.2 kB / 1.227 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.369e-05/0.7981, allocations: 108.9 kB / 1.228 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.7982, allocations: 105 kB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.939e-05/0.7982, allocations: 188.2 kB / 1.228 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.051e-05/0.7983, allocations: 180.3 kB / 1.228 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.561e-05/0.7984, allocations: 184.2 kB / 1.228 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.431e-05/0.7985, allocations: 180.2 kB / 1.228 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.7986, allocations: 307.8 kB / 1.229 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.202e-05/0.7987, allocations: 194 kB / 1.229 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/0.7988, allocations: 180.2 kB / 1.229 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.7989, allocations: 105 kB / 1.229 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.799, allocations: 180.3 kB / 1.229 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.7991, allocations: 108.9 kB / 1.229 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.06e-05/0.7991, allocations: 103.3 kB / 1.229 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7992, allocations: 0 / 1.229 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003168/0.7995, allocations: 35.88 kB / 1.23 GB, free: 7.844 MB / 0.9512 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.0006511/0.8001, allocations: 0.8631 MB / 1.23 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.8003, allocations: 45.64 kB / 1.23 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8003, allocations: 0 / 1.23 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.8003, allocations: 0 / 1.23 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.8007, allocations: 462.5 kB / 1.231 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.8021, allocations: 1.467 MB / 1.232 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.8024, allocations: 0.6885 MB / 1.233 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.8024, allocations: 0 / 1.233 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.8025, allocations: 15.44 kB / 1.233 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of SimCode: time 3.5e-07/0.8025, allocations: 0 / 1.233 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.821, allocations: 2.727 MB / 1.236 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/8.213, allocations: 14.66 kB / 1.236 GB, free: 1.617 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches