Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001821/0.001821, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00244/0.00244, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.639/2.639, allocations: 476.7 MB / 0.7714 GB, free: 4.301 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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="cs",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.001923/0.001923, allocations: 64.06 kB / 1.118 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2992, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005643/0.3049, allocations: 4.235 MB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003705/0.3086, allocations: 2.448 MB / 1.291 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004058/0.309, allocations: 12 kB / 1.291 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.3107, allocations: 0.556 MB / 1.291 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006239/0.3114, allocations: 246 kB / 1.292 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.3116, allocations: 139.8 kB / 1.292 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008923/0.3125, allocations: 0.8144 MB / 1.292 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/0.3129, allocations: 234.9 kB / 1.293 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.3133, allocations: 307 kB / 1.293 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.3137, allocations: 326.6 kB / 1.293 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.463e-05/0.3138, allocations: 76 kB / 1.293 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3139, allocations: 72 kB / 1.293 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.3141, allocations: 175.4 kB / 1.294 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.3144, allocations: 386.3 kB / 1.294 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.3154, allocations: 1 MB / 1.295 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3154, allocations: 0 / 1.295 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3154, allocations: 0 / 1.295 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.3155, allocations: 0 / 1.295 GB, free: 0.7109 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001484/0.3169, allocations: 0.8938 MB / 1.296 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.317, allocations: 12.03 kB / 1.296 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.552e-05/0.317, allocations: 13.19 kB / 1.296 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.299e-05/0.3171, allocations: 94.7 kB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.3172, allocations: 76.47 kB / 1.296 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006675/0.3179, allocations: 400.2 kB / 1.296 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.3179, allocations: 37.38 kB / 1.296 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-05/0.318, allocations: 48.38 kB / 1.296 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007242/0.3187, allocations: 434.3 kB / 1.297 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.3187, allocations: 0 / 1.297 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.3188, allocations: 16 kB / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3188, allocations: 19.94 kB / 1.297 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006841/0.3195, allocations: 363.8 kB / 1.297 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.3215, allocations: 1.484 MB / 1.299 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/0.3221, allocations: 320.2 kB / 1.299 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/0.3225, allocations: 284.7 kB / 1.299 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3226, allocations: 4 kB / 1.299 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3226, allocations: 38.56 kB / 1.299 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 1.533e-06/0.3226, allocations: 0 / 1.299 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.0009689/0.3236, allocations: 0.4907 MB / 1.3 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.3236, allocations: 55.41 kB / 1.3 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.3242, allocations: 489.9 kB / 1.3 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.3242, allocations: 29.7 kB / 1.3 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.3244, allocations: 276.7 kB / 1.301 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.3245, allocations: 154.6 kB / 1.301 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3247, allocations: 62.84 kB / 1.301 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3248, allocations: 366.8 kB / 1.301 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.3251, allocations: 120.7 kB / 1.301 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.3253, allocations: 125.2 kB / 1.301 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/0.3259, allocations: 298.2 kB / 1.302 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3259, allocations: 0 / 1.302 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006794/0.3265, allocations: 412.4 kB / 1.302 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3266, allocations: 7.938 kB / 1.302 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3266, allocations: 0 / 1.302 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3266, allocations: 4 kB / 1.302 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.3271, allocations: 123.9 kB / 1.302 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3271, allocations: 0 / 1.302 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.3273, allocations: 27.78 kB / 1.302 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.3273, allocations: 16 kB / 1.302 GB, free: 8.992 MB / 0.9981 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002304/0.3275, allocations: 199.1 kB / 1.302 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.267e-05/0.3276, allocations: 55.61 kB / 1.302 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.3278, allocations: 65.09 kB / 1.303 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3278, allocations: 4 kB / 1.303 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3278, allocations: 0 / 1.303 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.3278, allocations: 0 / 1.303 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.3284, allocations: 0.5508 MB / 1.303 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3284, allocations: 0 / 1.303 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.3289, allocations: 131.9 kB / 1.303 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3289, allocations: 4 kB / 1.303 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.329, allocations: 7.984 kB / 1.303 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.329, allocations: 0 / 1.303 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.329, allocations: 4 kB / 1.303 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.33, allocations: 0.6588 MB / 1.304 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3301, allocations: 63.56 kB / 1.304 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.3302, allocations: 12 kB / 1.304 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.3304, allocations: 8 kB / 1.304 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.3304, allocations: 23.95 kB / 1.304 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.3305, allocations: 15.98 kB / 1.304 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003977/0.3309, allocations: 351.1 kB / 1.304 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3309, allocations: 0 / 1.304 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004027/0.3313, allocations: 147.7 kB / 1.304 GB, free: 6.645 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.001335/0.3326, allocations: 1.212 MB / 1.306 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006036/0.3332, allocations: 315.8 kB / 1.306 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3332, allocations: 0 / 1.306 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.3335, allocations: 163.8 kB / 1.306 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006475/0.3341, allocations: 122.1 kB / 1.306 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006574/0.3407, allocations: 4.858 MB / 1.311 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.3412, allocations: 0.8781 MB / 1.312 GB, free: 14.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000229/0.3415, allocations: 56.38 kB / 1.312 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.3417, allocations: 187.4 kB / 1.312 GB, free: 14.74 MB / 1.014 GB Notification: Performance of SimCode: time 9.22e-07/0.3417, allocations: 0 / 1.312 GB, free: 14.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.3774, allocations: 11.84 MB / 1.324 GB, free: 3.195 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.2, allocations: 3.438 kB / 1.324 GB, free: 3.195 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.824102632002905]