Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001248/0.001248, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001434/0.001434, allocations: 222.6 kB / 23.03 MB, free: 4.945 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.074/3.074, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.001865/0.001865, allocations: 69.59 kB / 1.171 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3311, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004649/0.3357, allocations: 2.844 MB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003007/0.3387, allocations: 1.954 MB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.339, allocations: 7.938 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.3406, allocations: 481.8 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.3409, allocations: 138.9 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.3411, allocations: 67.88 kB / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.3416, allocations: 444.6 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.3418, allocations: 103.8 kB / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.3421, allocations: 171.3 kB / 1.351 GB, free: 9.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.3424, allocations: 179.2 kB / 1.352 GB, free: 9.555 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.056e-05/0.3424, allocations: 40 kB / 1.352 GB, free: 9.516 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.531e-05/0.3425, allocations: 32 kB / 1.352 GB, free: 9.484 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.3426, allocations: 99.61 kB / 1.352 GB, free: 9.387 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.3428, allocations: 179.1 kB / 1.352 GB, free: 9.211 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.3434, allocations: 0.5486 MB / 1.352 GB, free: 8.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3434, allocations: 0 / 1.352 GB, free: 8.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3434, allocations: 0 / 1.352 GB, free: 8.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3434, allocations: 0 / 1.352 GB, free: 8.66 MB / 1.045 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.001071/0.3445, allocations: 0.6407 MB / 1.353 GB, free: 7.988 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3445, allocations: 8.031 kB / 1.353 GB, free: 7.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.591e-05/0.3446, allocations: 8.625 kB / 1.353 GB, free: 7.973 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.65e-05/0.3446, allocations: 50.73 kB / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.559e-05/0.3447, allocations: 48.66 kB / 1.353 GB, free: 7.867 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.3453, allocations: 316.5 kB / 1.353 GB, free: 7.531 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.3453, allocations: 20.81 kB / 1.353 GB, free: 7.512 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.3453, allocations: 28.36 kB / 1.354 GB, free: 7.484 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.3457, allocations: 203.2 kB / 1.354 GB, free: 7.277 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3458, allocations: 3.953 kB / 1.354 GB, free: 7.273 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.3458, allocations: 8 kB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.3458, allocations: 8 kB / 1.354 GB, free: 7.258 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.3462, allocations: 157.7 kB / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.3473, allocations: 0.6862 MB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.3477, allocations: 134.6 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.3479, allocations: 108.7 kB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.3479, allocations: 0 / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.348, allocations: 42.5 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.348, allocations: 3.938 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.0006349/0.3486, allocations: 259.1 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.3487, allocations: 55.39 kB / 1.355 GB, free: 5.742 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/0.3492, allocations: 417.7 kB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3492, allocations: 25.7 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.3493, allocations: 204.5 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.3494, allocations: 67.42 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.3495, allocations: 29.72 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3497, allocations: 346.8 kB / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.3498, allocations: 63.92 kB / 1.356 GB, free: 4.582 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.35, allocations: 65.44 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.3502, allocations: 126 kB / 1.356 GB, free: 4.395 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3502, allocations: 0 / 1.356 GB, free: 4.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003974/0.3506, allocations: 210.7 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3507, allocations: 7.938 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3507, allocations: 8 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3507, allocations: 3.984 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.3509, allocations: 51.91 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3509, allocations: 0 / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.3511, allocations: 23.88 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.3511, allocations: 4 kB / 1.357 GB, free: 4.086 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 (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.0001647/0.3513, allocations: 157.8 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/0.3514, allocations: 43.69 kB / 1.357 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.034e-05/0.3514, allocations: 47.52 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3514, allocations: 4 kB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3514, allocations: 0 / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3514, allocations: 0 / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.3519, allocations: 312.4 kB / 1.357 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3519, allocations: 0 / 1.357 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.3521, allocations: 55.97 kB / 1.357 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3521, allocations: 3.938 kB / 1.357 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3521, allocations: 0 / 1.357 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3521, allocations: 0 / 1.357 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3521, allocations: 4 kB / 1.357 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.3528, allocations: 384.5 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.3528, allocations: 43.69 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.3529, allocations: 15.88 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.353, allocations: 11.98 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.3531, allocations: 7.984 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.3531, allocations: 11.94 kB / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003347/0.3534, allocations: 299.1 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3534, allocations: 4.062 kB / 1.358 GB, free: 2.637 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003053/0.3537, allocations: 75.84 kB / 1.358 GB, free: 2.562 MB / 1.045 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.0009328/0.3547, allocations: 0.9151 MB / 1.359 GB, free: 1.621 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.355, allocations: 138.8 kB / 1.359 GB, free: 1.488 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.355, allocations: 0 / 1.359 GB, free: 1.488 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.3552, allocations: 79.95 kB / 1.359 GB, free: 1.41 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.3557, allocations: 85.39 kB / 1.359 GB, free: 1.328 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/0.3605, allocations: 3.495 MB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.3607, allocations: 190.4 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.3608, allocations: 30.97 kB / 1.363 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.361, allocations: 119.4 kB / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of SimCode: time 1.102e-06/0.361, allocations: 0 / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.3962, allocations: 8.606 MB / 1.371 GB, free: 5.098 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.88, allocations: 5.734 kB / 1.371 GB, free: 5.094 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.456386351957917]