Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.00188/0.00188, allocations: 104.2 kB / 16.45 MB, free: 6.035 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.002074/0.002074, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.651/1.651, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.957/2.957, allocations: 497.2 MB / 0.7811 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 68.53 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3275, allocations: 173.9 MB / 1.304 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005945/0.3334, allocations: 4.184 MB / 1.308 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003879/0.3373, allocations: 2.421 MB / 1.31 GB, free: 10.9 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004662/0.3378, allocations: 8 kB / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.3396, allocations: 0.5633 MB / 1.311 GB, free: 10.33 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0006806/0.3403, allocations: 238 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.3406, allocations: 139.9 kB / 1.311 GB, free: 9.957 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009342/0.3415, allocations: 0.8098 MB / 1.312 GB, free: 9.145 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.3419, allocations: 226.6 kB / 1.312 GB, free: 8.914 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003788/0.3423, allocations: 298.9 kB / 1.313 GB, free: 8.621 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.3427, allocations: 334.6 kB / 1.313 GB, free: 8.293 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.759e-05/0.3428, allocations: 72 kB / 1.313 GB, free: 8.223 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.3429, allocations: 76 kB / 1.313 GB, free: 8.148 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.343, allocations: 175.4 kB / 1.313 GB, free: 7.977 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.3434, allocations: 374.3 kB / 1.314 GB, free: 7.609 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.3444, allocations: 0.9962 MB / 1.315 GB, free: 6.609 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3444, allocations: 4 kB / 1.315 GB, free: 6.605 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3444, allocations: 0 / 1.315 GB, free: 6.605 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.3444, allocations: 0 / 1.315 GB, free: 6.605 MB / 1.014 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.001524/0.346, allocations: 0.9668 MB / 1.316 GB, free: 5.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.346, allocations: 16.55 kB / 1.316 GB, free: 5.574 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.3461, allocations: 82.72 kB / 1.316 GB, free: 5.484 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.3462, allocations: 80.47 kB / 1.316 GB, free: 5.406 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007187/0.347, allocations: 458.1 kB / 1.316 GB, free: 4.922 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.347, allocations: 37.38 kB / 1.316 GB, free: 4.887 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/0.3471, allocations: 52.31 kB / 1.316 GB, free: 4.836 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/0.3478, allocations: 426.6 kB / 1.317 GB, free: 4.414 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3479, allocations: 0 / 1.317 GB, free: 4.414 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.3479, allocations: 20 kB / 1.317 GB, free: 4.395 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.3479, allocations: 12 kB / 1.317 GB, free: 4.383 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007078/0.3486, allocations: 375.7 kB / 1.317 GB, free: 4.012 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.3508, allocations: 1.516 MB / 1.319 GB, free: 2.422 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.3513, allocations: 311.9 kB / 1.319 GB, free: 2.105 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/0.3518, allocations: 290.1 kB / 1.319 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.3518, allocations: 15.7 kB / 1.319 GB, free: 1.805 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.3518, allocations: 38.5 kB / 1.319 GB, free: 1.758 MB / 1.014 GB Notification: Performance of pre-optimization done (n=42): time 1.633e-06/0.3518, allocations: 0 / 1.319 GB, free: 1.758 MB / 1.014 GB Notification: Performance of matching and sorting (n=42): time 0.0009657/0.3528, allocations: 497.8 kB / 1.32 GB, free: 1.266 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3529, allocations: 63.39 kB / 1.32 GB, free: 1.191 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.3534, allocations: 485.9 kB / 1.32 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.3535, allocations: 29.7 kB / 1.32 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.3537, allocations: 284.6 kB / 1.32 GB, free: 404 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.3538, allocations: 150.7 kB / 1.321 GB, free: 252 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.354, allocations: 58.08 kB / 1.321 GB, free: 184 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002583/0.3542, allocations: 362.8 kB / 1.321 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.3545, allocations: 120.7 kB / 1.321 GB, free: 15.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.3547, allocations: 125.4 kB / 1.321 GB, free: 15.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.3552, allocations: 298.1 kB / 1.322 GB, free: 15.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3552, allocations: 0 / 1.322 GB, free: 15.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006648/0.3559, allocations: 396.5 kB / 1.322 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3559, allocations: 11.98 kB / 1.322 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3559, allocations: 7.984 kB / 1.322 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3559, allocations: 0 / 1.322 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.3564, allocations: 123.9 kB / 1.322 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3564, allocations: 4 kB / 1.322 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.3566, allocations: 40.44 kB / 1.322 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.3567, allocations: 8 kB / 1.322 GB, free: 14.7 MB / 1.029 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.0002458/0.3569, allocations: 205.7 kB / 1.322 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.35e-05/0.357, allocations: 59.61 kB / 1.322 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.3571, allocations: 61.09 kB / 1.322 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3571, allocations: 4 kB / 1.322 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3571, allocations: 4 kB / 1.322 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3571, allocations: 3.938 kB / 1.322 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007139/0.3578, allocations: 0.5674 MB / 1.323 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3578, allocations: 3.938 kB / 1.323 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.3583, allocations: 127.9 kB / 1.323 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3583, allocations: 4 kB / 1.323 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.3584, allocations: 12 kB / 1.323 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3584, allocations: 3.984 kB / 1.323 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3584, allocations: 0 / 1.323 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3594, allocations: 0.6433 MB / 1.324 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.3595, allocations: 144.6 kB / 1.324 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.3596, allocations: 15.98 kB / 1.324 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.3598, allocations: 11.94 kB / 1.324 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.3599, allocations: 27.91 kB / 1.324 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.3599, allocations: 12 kB / 1.324 GB, free: 12.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004273/0.3603, allocations: 351.1 kB / 1.324 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3603, allocations: 0 / 1.324 GB, free: 12.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004239/0.3607, allocations: 143.7 kB / 1.324 GB, free: 12.22 MB / 1.029 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.001493/0.3622, allocations: 1.204 MB / 1.326 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006367/0.3629, allocations: 311.4 kB / 1.326 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3629, allocations: 0 / 1.326 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.3631, allocations: 167.8 kB / 1.326 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.3638, allocations: 120.5 kB / 1.326 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00683/0.3706, allocations: 4.867 MB / 1.331 GB, free: 5.453 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.3712, allocations: 0.8703 MB / 1.332 GB, free: 4.559 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002582/0.3714, allocations: 56.36 kB / 1.332 GB, free: 4.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.3717, allocations: 191.4 kB / 1.332 GB, free: 4.312 MB / 1.029 GB Notification: Performance of SimCode: time 1.413e-06/0.3717, allocations: 0 / 1.332 GB, free: 4.312 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03847/0.4102, allocations: 11.5 MB / 1.343 GB, free: 9.125 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.809/9.219, allocations: 18.45 kB / 1.343 GB, free: 9.109 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.763267814181745]