Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001276/0.001276, allocations: 111.3 kB / 16.46 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.002037/0.002037, allocations: 192.5 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.422/1.422, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] 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.523/2.523, allocations: 443.5 MB / 0.7287 GB, free: 13.3 MB / 0.5919 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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.89 kB / 1.056 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8253/0.8272, allocations: 160.7 MB / 1.213 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005252/0.8325, allocations: 3.061 MB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00361/0.8361, allocations: 2.153 MB / 1.218 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004507/0.8365, allocations: 5.375 kB / 1.218 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.8384, allocations: 0.4907 MB / 1.219 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005729/0.8389, allocations: 150.6 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.8391, allocations: 65.8 kB / 1.219 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007754/0.8399, allocations: 457.2 kB / 1.219 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.8402, allocations: 106.5 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.8406, allocations: 155.7 kB / 1.219 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.8409, allocations: 175.9 kB / 1.22 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.987e-05/0.841, allocations: 34.62 kB / 1.22 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.8411, allocations: 34.41 kB / 1.22 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.8412, allocations: 103.1 kB / 1.22 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.8415, allocations: 221 kB / 1.22 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007036/0.8422, allocations: 0.545 MB / 1.221 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.8422, allocations: 4 kB / 1.221 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8422, allocations: 3.938 kB / 1.221 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.88e-05/0.8422, allocations: 5.188 kB / 1.221 GB, free: 14.04 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001344/0.8436, allocations: 0.7071 MB / 1.221 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.8436, allocations: 10.12 kB / 1.221 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.143e-05/0.8437, allocations: 57.09 kB / 1.221 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.8438, allocations: 54.88 kB / 1.221 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/0.8445, allocations: 378 kB / 1.222 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.8445, allocations: 16.78 kB / 1.222 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.8446, allocations: 18.28 kB / 1.222 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.845, allocations: 210.8 kB / 1.222 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.845, allocations: 0 / 1.222 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.8451, allocations: 10.16 kB / 1.222 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.8451, allocations: 4.75 kB / 1.222 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.8455, allocations: 163.8 kB / 1.222 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.847, allocations: 0.8653 MB / 1.223 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.8473, allocations: 153.6 kB / 1.223 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.8475, allocations: 102.5 kB / 1.223 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.8475, allocations: 5.438 kB / 1.223 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.8476, allocations: 35.97 kB / 1.223 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.8476, allocations: 0 / 1.223 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0007041/0.8483, allocations: 260.9 kB / 1.223 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.8483, allocations: 53.03 kB / 1.224 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.8489, allocations: 420.6 kB / 1.224 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.8489, allocations: 26.89 kB / 1.224 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.8491, allocations: 212.7 kB / 1.224 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/0.8492, allocations: 63.16 kB / 1.224 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-05/0.8493, allocations: 31.88 kB / 1.224 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.8494, allocations: 351.9 kB / 1.225 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.8496, allocations: 57.08 kB / 1.225 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.8497, allocations: 54.81 kB / 1.225 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.85, allocations: 132.9 kB / 1.225 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.85, allocations: 3.984 kB / 1.225 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004281/0.8504, allocations: 208.3 kB / 1.225 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.8505, allocations: 8.703 kB / 1.225 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.8505, allocations: 4.969 kB / 1.225 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.8505, allocations: 1.406 kB / 1.225 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.8507, allocations: 48.28 kB / 1.225 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.8507, allocations: 1.562 kB / 1.225 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.8509, allocations: 26.33 kB / 1.225 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.851, allocations: 2.688 kB / 1.225 GB, free: 10.43 MB / 0.9356 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 (20): * Single equations (assignments): 20 * 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.0001823/0.8511, allocations: 168.7 kB / 1.225 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.8512, allocations: 36.02 kB / 1.225 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.385e-05/0.8513, allocations: 47.42 kB / 1.225 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.8513, allocations: 2.75 kB / 1.225 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.8513, allocations: 0 / 1.225 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.8513, allocations: 0 / 1.225 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.8518, allocations: 378.1 kB / 1.226 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8518, allocations: 3.938 kB / 1.226 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.8521, allocations: 57.86 kB / 1.226 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.8521, allocations: 1.062 kB / 1.226 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.8521, allocations: 13.03 kB / 1.226 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.8521, allocations: 1.375 kB / 1.226 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8521, allocations: 3.984 kB / 1.226 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.8527, allocations: 384 kB / 1.226 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.8529, allocations: 119.4 kB / 1.226 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.8529, allocations: 9.438 kB / 1.226 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.8531, allocations: 5.094 kB / 1.226 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.8531, allocations: 12.08 kB / 1.226 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.8532, allocations: 11.28 kB / 1.226 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003666/0.8535, allocations: 302.4 kB / 1.227 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8535, allocations: 0 / 1.227 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003561/0.8539, allocations: 72.52 kB / 1.227 GB, free: 9.246 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0009789/0.8549, allocations: 0.9287 MB / 1.228 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.8552, allocations: 138.5 kB / 1.228 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.8552, allocations: 4 kB / 1.228 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.8554, allocations: 75.81 kB / 1.228 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.856, allocations: 90.69 kB / 1.228 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.8608, allocations: 3.499 MB / 1.231 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.8613, allocations: 0.799 MB / 1.232 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.8614, allocations: 34.95 kB / 1.232 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.8616, allocations: 119.4 kB / 1.232 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of SimCode: time 1.012e-06/0.8616, allocations: 0 / 1.232 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.8962, allocations: 8.041 MB / 1.24 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.316/9.212, allocations: 20.25 kB / 1.24 GB, free: 12.23 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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: 14.826599908992648]