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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 108.3 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 190.6 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.348 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.351/2.351, allocations: 443.5 MB / 0.7304 GB, free: 14.14 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.89 kB / 1.059 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2681, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00257/0.2707, allocations: 1.493 MB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.2721, allocations: 0.9159 MB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.615e-05/0.2721, allocations: 7.938 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.2723, allocations: 35.81 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.694e-05/0.2723, allocations: 27.78 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.2729, allocations: 194.7 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.273, allocations: 47.73 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.273, allocations: 7.984 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.399e-05/0.2731, allocations: 23.88 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.584e-05/0.2731, allocations: 11.92 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.2731, allocations: 4 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.2734, allocations: 171.7 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.2735, allocations: 7.938 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.2735, allocations: 23.84 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.2737, allocations: 123.9 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2737, allocations: 0 / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2737, allocations: 0 / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2737, allocations: 0 / 1.219 GB, free: 12.86 MB / 0.9669 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.0003656/0.2741, allocations: 375 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2741, allocations: 8.031 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.2742, allocations: 110 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.2742, allocations: 84.17 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.2745, allocations: 255.6 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.105e-05/0.2745, allocations: 158.9 kB / 1.22 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.2746, allocations: 158.9 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.2747, allocations: 113 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.2747, allocations: 75.28 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/0.2748, allocations: 150.6 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.105e-05/0.2748, allocations: 150.6 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.795e-05/0.2749, allocations: 150.6 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.2752, allocations: 465.9 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.2753, allocations: 169.1 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.34e-05/0.2753, allocations: 80.14 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.2754, allocations: 79.28 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.2754, allocations: 113.8 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2754, allocations: 4 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.908e-05/0.2755, allocations: 37.59 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.2755, allocations: 126.7 kB / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.2757, allocations: 135.8 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2757, allocations: 25.7 kB / 1.221 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.2758, allocations: 96.08 kB / 1.222 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.2758, allocations: 0 / 1.222 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.2758, allocations: 17.72 kB / 1.222 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2759, allocations: 318.8 kB / 1.222 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.2759, allocations: 8 kB / 1.222 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.276, allocations: 4 kB / 1.222 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.276, allocations: 12.86 kB / 1.222 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.276, allocations: 0 / 1.222 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001075/0.2761, allocations: 45.62 kB / 1.222 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2761, allocations: 4 kB / 1.222 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.2761, allocations: 4 kB / 1.222 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.2761, allocations: 0 / 1.222 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.2761, allocations: 8 kB / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.2761, allocations: 0 / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.2762, allocations: 7.891 kB / 1.222 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.2762, allocations: 4 kB / 1.222 GB, free: 9.137 MB / 0.9669 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.000104/0.2763, allocations: 185.1 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.2763, allocations: 116.9 kB / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.2764, allocations: 104.9 kB / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.315e-05/0.2765, allocations: 196.1 kB / 1.223 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.48e-05/0.2765, allocations: 180.3 kB / 1.223 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.171e-05/0.2766, allocations: 184.2 kB / 1.223 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.2769, allocations: 409.2 kB / 1.223 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-05/0.2769, allocations: 108.9 kB / 1.223 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.277, allocations: 113 kB / 1.223 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.33e-05/0.277, allocations: 180.3 kB / 1.224 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.526e-05/0.2771, allocations: 184.2 kB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-05/0.2772, allocations: 176.3 kB / 1.224 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.427e-05/0.2773, allocations: 180.2 kB / 1.224 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.2774, allocations: 311.8 kB / 1.224 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/0.2775, allocations: 193.9 kB / 1.225 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.229e-05/0.2776, allocations: 180.3 kB / 1.225 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.2777, allocations: 104.9 kB / 1.225 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.2777, allocations: 180.3 kB / 1.225 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/0.2778, allocations: 109 kB / 1.225 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.537e-05/0.2779, allocations: 100.7 kB / 1.225 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2779, allocations: 0 / 1.225 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002519/0.2781, allocations: 31.88 kB / 1.225 GB, free: 5.457 MB / 0.9669 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.0005609/0.2787, allocations: 0.867 MB / 1.226 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.683e-05/0.2787, allocations: 38.05 kB / 1.226 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2787, allocations: 0 / 1.226 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.808e-06/0.2788, allocations: 3.938 kB / 1.226 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.2792, allocations: 467.7 kB / 1.227 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2804, allocations: 1.472 MB / 1.228 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.2807, allocations: 0.6846 MB / 1.229 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.2807, allocations: 3.984 kB / 1.229 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.2807, allocations: 19.44 kB / 1.229 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.2807, allocations: 0 / 1.229 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.3056, allocations: 2.687 MB / 1.231 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.319, allocations: 8.656 kB / 1.231 GB, free: 15.18 MB / 0.9825 GB " [Timeout remaining time 293] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable x in file Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv. Warning: Get data of variable x from file Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.549563212000066]