Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002256/0.002256, allocations: 216.4 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.665/2.665, allocations: 476.7 MB / 0.7707 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 66.94 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3121, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002874/0.315, allocations: 1.516 MB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3164, allocations: 0.9402 MB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.3165, allocations: 4 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.3167, allocations: 51.75 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.3167, allocations: 15.86 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.3172, allocations: 195.3 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.52e-05/0.3173, allocations: 43.73 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.3174, allocations: 11.98 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.3174, allocations: 15.92 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.431e-05/0.3175, allocations: 19.88 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.3175, allocations: 0 / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.3179, allocations: 179.7 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.3179, allocations: 7.938 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.3179, allocations: 19.86 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.3181, allocations: 123.8 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3182, allocations: 4 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3182, allocations: 0 / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3182, allocations: 0 / 1.286 GB, free: 8.535 MB / 0.9825 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.0003621/0.3185, allocations: 305.8 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3186, allocations: 12.02 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.3186, allocations: 106 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.3187, allocations: 84.17 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.3189, allocations: 204.3 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/0.319, allocations: 150.9 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.319, allocations: 150.9 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.98e-05/0.3191, allocations: 113 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.3191, allocations: 75.28 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/0.3192, allocations: 158.6 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/0.3193, allocations: 154.6 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.365e-05/0.3193, allocations: 154.6 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.3196, allocations: 436.9 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.662e-05/0.3197, allocations: 169.1 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.3198, allocations: 88.19 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.3198, allocations: 75.28 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.3198, allocations: 113.8 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3198, allocations: 0 / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.343e-05/0.3199, allocations: 29.66 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.32, allocations: 138.6 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.3201, allocations: 137.7 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3201, allocations: 25.7 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.3202, allocations: 92.14 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.3202, allocations: 0 / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.3202, allocations: 13.72 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3204, allocations: 318.8 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.3204, allocations: 4 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.638e-05/0.3204, allocations: 8 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.3204, allocations: 16.88 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3204, allocations: 0 / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001166/0.3206, allocations: 53.62 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3206, allocations: 4 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.3206, allocations: 7.938 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3206, allocations: 0 / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-07/0.3206, allocations: 0 / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3206, allocations: 0 / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/0.3206, allocations: 4 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3206, allocations: 3.984 kB / 1.29 GB, free: 4.996 MB / 0.9825 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.0001142/0.3208, allocations: 193.2 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.3208, allocations: 112.9 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.3209, allocations: 108.7 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.181e-05/0.321, allocations: 180.3 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-05/0.3211, allocations: 188.2 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.989e-05/0.3211, allocations: 188.1 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.3214, allocations: 380.3 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-05/0.3215, allocations: 108.9 kB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.3215, allocations: 105 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.874e-05/0.3216, allocations: 184.3 kB / 1.291 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.513e-05/0.3217, allocations: 180.2 kB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.936e-05/0.3217, allocations: 180.3 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.542e-05/0.3218, allocations: 180.2 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.322, allocations: 315.8 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.322, allocations: 112.8 kB / 1.292 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.083e-05/0.3221, allocations: 184.3 kB / 1.292 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.3222, allocations: 104.9 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.3223, allocations: 180.2 kB / 1.293 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.3223, allocations: 105 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.3224, allocations: 101.3 kB / 1.293 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3224, allocations: 3.938 kB / 1.293 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002702/0.3226, allocations: 31.88 kB / 1.293 GB, free: 1.445 MB / 0.9825 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.0005524/0.3232, allocations: 0.8598 MB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.462e-05/0.3233, allocations: 33.7 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3233, allocations: 0 / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.3233, allocations: 3.938 kB / 1.294 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.3237, allocations: 471.7 kB / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.325, allocations: 1.462 MB / 1.296 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.3253, allocations: 0.6846 MB / 1.296 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.685e-05/0.3253, allocations: 4.031 kB / 1.296 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.3253, allocations: 19.44 kB / 1.296 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3253, allocations: 0 / 1.296 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.3534, allocations: 2.829 MB / 1.299 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.96, allocations: 5.797 kB / 1.299 GB, free: 11.09 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv. Warning: Get data of variable x from file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.31484126199939]