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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001543/0.001543, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.713/2.713, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.89 kB / 0.9083 GB, free: 34.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2914, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002627/0.2941, allocations: 1.484 MB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2954, allocations: 0.9018 MB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.2955, allocations: 7.938 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.2957, allocations: 39.83 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.464e-05/0.2958, allocations: 19.84 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.2963, allocations: 192.1 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.56e-05/0.2964, allocations: 51.67 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.2964, allocations: 8 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.2965, allocations: 19.92 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.639e-05/0.2965, allocations: 15.88 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.2965, allocations: 0 / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.2968, allocations: 147.8 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.2969, allocations: 0 / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.2969, allocations: 27.84 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.2971, allocations: 119.9 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2971, allocations: 8 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2971, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.2972, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 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.0003322/0.2975, allocations: 367.2 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2975, allocations: 8.031 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.2976, allocations: 110 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.2976, allocations: 84.12 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.2978, allocations: 256.8 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.2979, allocations: 154.9 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.298, allocations: 154.9 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.21e-05/0.298, allocations: 109 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.2981, allocations: 79.28 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.2981, allocations: 150.6 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/0.2982, allocations: 158.6 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.288e-05/0.2982, allocations: 150.6 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.2985, allocations: 465.8 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.025e-05/0.2986, allocations: 169.1 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.2986, allocations: 84.14 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.2986, allocations: 75.28 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.2987, allocations: 109.8 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.2987, allocations: 0 / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.992e-05/0.2988, allocations: 37.64 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.2988, allocations: 126.7 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.299, allocations: 139.3 kB / 1.069 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.299, allocations: 29.64 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.2991, allocations: 92.12 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.2991, allocations: 0 / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.2991, allocations: 21.66 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2992, allocations: 322.9 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.2992, allocations: 4 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.602e-05/0.2993, allocations: 7.984 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.2993, allocations: 12.89 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2993, allocations: 4 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001091/0.2994, allocations: 53.53 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2994, allocations: 4 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.2995, allocations: 0 / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2995, allocations: 4 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.2995, allocations: 4 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2995, allocations: 0 / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.2995, allocations: 7.875 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.2995, allocations: 0 / 1.07 GB, free: 7.734 MB / 0.8262 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 9.652e-05/0.2996, allocations: 193.2 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.2997, allocations: 112.8 kB / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.2998, allocations: 108.9 kB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.396e-05/0.2998, allocations: 180.2 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.474e-05/0.2999, allocations: 184.3 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.778e-05/0.3, allocations: 184.2 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3002, allocations: 409.2 kB / 1.071 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-05/0.3002, allocations: 108.9 kB / 1.071 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.3003, allocations: 104.9 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.708e-05/0.3003, allocations: 180.3 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.109e-05/0.3004, allocations: 184.2 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.457e-05/0.3005, allocations: 184.3 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.746e-05/0.3006, allocations: 176.3 kB / 1.072 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.3007, allocations: 303.8 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.3008, allocations: 197.9 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.3009, allocations: 184.3 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/0.301, allocations: 101 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.3011, allocations: 184.2 kB / 1.073 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.3011, allocations: 101 kB / 1.073 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.365e-05/0.3012, allocations: 109.1 kB / 1.073 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3012, allocations: 0 / 1.073 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002896/0.3015, allocations: 32 kB / 1.073 GB, free: 4.066 MB / 0.8262 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.0005282/0.302, allocations: 0.8709 MB / 1.074 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3021, allocations: 41.69 kB / 1.074 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3021, allocations: 0 / 1.074 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.3021, allocations: 0 / 1.074 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.3026, allocations: 467.7 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3038, allocations: 1.445 MB / 1.076 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.3041, allocations: 0.6846 MB / 1.077 GB, free: 436 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.296e-05/0.3041, allocations: 4 kB / 1.077 GB, free: 432 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.3042, allocations: 16.5 kB / 1.077 GB, free: 416 kB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.3042, allocations: 3.938 kB / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.3236, allocations: 2.702 MB / 1.079 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.909, allocations: 16.09 kB / 1.079 GB, free: 13.85 MB / 0.8419 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