Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001274/0.001274, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001464/0.001464, allocations: 218 kB / 22.25 MB, free: 5.254 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.063/3.063, allocations: 0.49 GB / 0.7951 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.001994/0.001994, allocations: 68.19 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.326, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005491/0.3315, allocations: 3.808 MB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003461/0.3349, allocations: 2.234 MB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.3352, allocations: 8 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.3367, allocations: 0.5092 MB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004837/0.3372, allocations: 250 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.3374, allocations: 135.9 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007952/0.3382, allocations: 0.8098 MB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.3386, allocations: 231 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.339, allocations: 310.9 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.3394, allocations: 334.6 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.238e-05/0.3395, allocations: 72 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3396, allocations: 76 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.3398, allocations: 167.4 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.3401, allocations: 318.6 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009525/0.3411, allocations: 0.9962 MB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3411, allocations: 0 / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3411, allocations: 0 / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3411, allocations: 0 / 1.336 GB, free: 7.207 MB / 1.029 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.001456/0.3425, allocations: 0.8938 MB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3426, allocations: 8.031 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.3427, allocations: 90.7 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.3428, allocations: 76.47 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006944/0.3435, allocations: 404.1 kB / 1.337 GB, free: 5.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.3435, allocations: 37.38 kB / 1.337 GB, free: 5.645 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.097e-05/0.3436, allocations: 52.36 kB / 1.337 GB, free: 5.594 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007647/0.3444, allocations: 430.5 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.3444, allocations: 4 kB / 1.338 GB, free: 5.164 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.3444, allocations: 20 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.3444, allocations: 12 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.3451, allocations: 367.8 kB / 1.338 GB, free: 4.773 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.3472, allocations: 1.249 MB / 1.339 GB, free: 3.477 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.3477, allocations: 311.2 kB / 1.34 GB, free: 3.156 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.3482, allocations: 289.1 kB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.3482, allocations: 12.62 kB / 1.34 GB, free: 2.859 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3482, allocations: 38.56 kB / 1.34 GB, free: 2.812 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 2.124e-06/0.3482, allocations: 0 / 1.34 GB, free: 2.812 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.001034/0.3493, allocations: 0.4929 MB / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.3493, allocations: 63.12 kB / 1.341 GB, free: 2.238 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005811/0.3499, allocations: 481.9 kB / 1.341 GB, free: 1.758 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.3499, allocations: 33.7 kB / 1.341 GB, free: 1.719 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.3502, allocations: 276.7 kB / 1.341 GB, free: 1.441 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.3503, allocations: 154.7 kB / 1.341 GB, free: 1.289 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3504, allocations: 62.08 kB / 1.342 GB, free: 1.219 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.3506, allocations: 362.8 kB / 1.342 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.3509, allocations: 121.5 kB / 1.342 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.3511, allocations: 125.2 kB / 1.342 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.3516, allocations: 290.4 kB / 1.342 GB, free: 340 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3516, allocations: 0 / 1.342 GB, free: 340 kB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007068/0.3523, allocations: 408.5 kB / 1.343 GB, free: 15.92 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3523, allocations: 8 kB / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3523, allocations: 3.984 kB / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3523, allocations: 3.938 kB / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/0.3529, allocations: 127.8 kB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3529, allocations: 4 kB / 1.343 GB, free: 15.78 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.3532, allocations: 35.72 kB / 1.343 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.3532, allocations: 19.94 kB / 1.343 GB, free: 15.73 MB / 1.045 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.0002693/0.3535, allocations: 198.3 kB / 1.343 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.143e-05/0.3535, allocations: 55.61 kB / 1.343 GB, free: 15.47 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.3537, allocations: 57.11 kB / 1.343 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.3537, allocations: 8 kB / 1.343 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.3537, allocations: 0 / 1.343 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-06/0.3537, allocations: 3.984 kB / 1.343 GB, free: 15.4 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.3544, allocations: 476.3 kB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.3544, allocations: 3.938 kB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/0.3549, allocations: 127.9 kB / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3549, allocations: 0 / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.355, allocations: 12 kB / 1.344 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.355, allocations: 0 / 1.344 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.355, allocations: 3.984 kB / 1.344 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.3561, allocations: 0.6521 MB / 1.345 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.3562, allocations: 63.52 kB / 1.345 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.3562, allocations: 12 kB / 1.345 GB, free: 14.01 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.3564, allocations: 15.98 kB / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.3565, allocations: 23.95 kB / 1.345 GB, free: 13.97 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.3566, allocations: 12 kB / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004483/0.357, allocations: 351.1 kB / 1.345 GB, free: 13.62 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.357, allocations: 0 / 1.345 GB, free: 13.62 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004392/0.3574, allocations: 147.7 kB / 1.345 GB, free: 13.47 MB / 1.045 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.001379/0.3588, allocations: 1.212 MB / 1.346 GB, free: 12.23 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006113/0.3594, allocations: 307.9 kB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3594, allocations: 0 / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.3597, allocations: 167.6 kB / 1.347 GB, free: 11.77 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/0.3604, allocations: 119.8 kB / 1.347 GB, free: 11.66 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006556/0.367, allocations: 4.849 MB / 1.352 GB, free: 6.723 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3673, allocations: 275 kB / 1.352 GB, free: 6.43 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000227/0.3675, allocations: 52.36 kB / 1.352 GB, free: 6.375 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.3678, allocations: 191.4 kB / 1.352 GB, free: 6.188 MB / 1.045 GB Notification: Performance of SimCode: time 1.603e-06/0.3678, allocations: 0 / 1.352 GB, free: 6.188 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04466/0.4124, allocations: 12.74 MB / 1.365 GB, free: 9.773 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.36, allocations: 7.938 kB / 1.365 GB, free: 9.766 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.752591605996713]