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.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.001406/0.001406, allocations: 110 kB / 18.93 MB, free: 2.945 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.001461/0.001461, allocations: 191.4 kB / 22.23 MB, free: 5.156 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.487/1.487, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.261/3.261, allocations: 0.4893 GB / 0.7884 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 66.55 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4296, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005099/0.4347, allocations: 3.082 MB / 1.319 GB, free: 6.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00339/0.4381, allocations: 2.164 MB / 1.321 GB, free: 4.414 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.4383, allocations: 8 kB / 1.321 GB, free: 4.406 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.4399, allocations: 0.5094 MB / 1.322 GB, free: 3.895 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.4403, allocations: 146.8 kB / 1.322 GB, free: 3.75 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.4404, allocations: 55.95 kB / 1.322 GB, free: 3.695 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005739/0.441, allocations: 441.8 kB / 1.322 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.4412, allocations: 111.8 kB / 1.322 GB, free: 3.148 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.4415, allocations: 171.4 kB / 1.323 GB, free: 2.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.4418, allocations: 175.2 kB / 1.323 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/0.4418, allocations: 32 kB / 1.323 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-05/0.4419, allocations: 36 kB / 1.323 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.442, allocations: 103.6 kB / 1.323 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.4423, allocations: 218.9 kB / 1.323 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006674/0.4429, allocations: 0.5485 MB / 1.324 GB, free: 1.875 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4429, allocations: 0 / 1.324 GB, free: 1.875 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4429, allocations: 0 / 1.324 GB, free: 1.875 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.443, allocations: 0 / 1.324 GB, free: 1.875 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001221/0.4442, allocations: 0.6329 MB / 1.324 GB, free: 1.211 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4442, allocations: 12.03 kB / 1.324 GB, free: 1.199 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.4443, allocations: 52.59 kB / 1.324 GB, free: 1.148 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006095/0.4449, allocations: 316.5 kB / 1.325 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.445, allocations: 16.81 kB / 1.325 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.445, allocations: 24.38 kB / 1.325 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.4455, allocations: 199.6 kB / 1.325 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4455, allocations: 4 kB / 1.325 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.4455, allocations: 8 kB / 1.325 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.4455, allocations: 8 kB / 1.325 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.4459, allocations: 169.6 kB / 1.325 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.4473, allocations: 0.8278 MB / 1.326 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.4476, allocations: 150.5 kB / 1.326 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.4478, allocations: 92.83 kB / 1.326 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.4478, allocations: 7.984 kB / 1.326 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.4479, allocations: 30.56 kB / 1.326 GB, free: 15.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.4479, allocations: 4 kB / 1.326 GB, free: 15.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0006917/0.4486, allocations: 259.6 kB / 1.326 GB, free: 14.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.4486, allocations: 55.41 kB / 1.326 GB, free: 14.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.4492, allocations: 409.7 kB / 1.327 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.4492, allocations: 29.7 kB / 1.327 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.4494, allocations: 208.4 kB / 1.327 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.017e-05/0.4495, allocations: 63.44 kB / 1.327 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.4495, allocations: 41.7 kB / 1.327 GB, free: 14.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.4498, allocations: 354.7 kB / 1.327 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.4499, allocations: 51.97 kB / 1.328 GB, free: 13.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.4501, allocations: 57.69 kB / 1.328 GB, free: 13.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.4504, allocations: 134.5 kB / 1.328 GB, free: 13.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4504, allocations: 4 kB / 1.328 GB, free: 13.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004231/0.4508, allocations: 206.7 kB / 1.328 GB, free: 13.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4508, allocations: 4 kB / 1.328 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.4508, allocations: 4 kB / 1.328 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.4509, allocations: 3.938 kB / 1.328 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.4511, allocations: 55.91 kB / 1.328 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4511, allocations: 0 / 1.328 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.4513, allocations: 19.88 kB / 1.328 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.4513, allocations: 12 kB / 1.328 GB, free: 13.2 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 (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.0001878/0.4515, allocations: 165.7 kB / 1.328 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.4516, allocations: 39.77 kB / 1.328 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.968e-05/0.4516, allocations: 43.47 kB / 1.328 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4517, allocations: 4 kB / 1.328 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4517, allocations: 0 / 1.328 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4517, allocations: 0 / 1.328 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.4521, allocations: 352.4 kB / 1.329 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4521, allocations: 0 / 1.329 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.4524, allocations: 51.97 kB / 1.329 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4524, allocations: 4 kB / 1.329 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.4524, allocations: 7.938 kB / 1.329 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4524, allocations: 0 / 1.329 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4524, allocations: 0 / 1.329 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/0.4531, allocations: 387 kB / 1.329 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.4532, allocations: 43.72 kB / 1.329 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.4532, allocations: 7.938 kB / 1.329 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.4534, allocations: 4 kB / 1.329 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.4534, allocations: 19.97 kB / 1.329 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.4535, allocations: 4 kB / 1.329 GB, free: 12.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003864/0.4538, allocations: 307.1 kB / 1.329 GB, free: 11.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4538, allocations: 0 / 1.329 GB, free: 11.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003156/0.4542, allocations: 71.89 kB / 1.329 GB, free: 11.65 MB / 1.029 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.0001455/0.4543, allocations: 107.8 kB / 1.33 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003718/0.4547, allocations: 133.4 kB / 1.33 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4547, allocations: 0 / 1.33 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.4548, allocations: 79.89 kB / 1.33 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.4554, allocations: 108 kB / 1.33 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.4568, allocations: 0.7594 MB / 1.331 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.4573, allocations: 0.7951 MB / 1.331 GB, free: 9.625 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.4574, allocations: 34.95 kB / 1.331 GB, free: 9.586 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.4575, allocations: 27.44 kB / 1.331 GB, free: 9.559 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4575, allocations: 0 / 1.331 GB, free: 9.559 MB / 1.029 GB Notification: Performance of Templates: time 0.009626/0.4671, allocations: 4.108 MB / 1.335 GB, free: 5.559 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] 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/jenkins/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: 9.373531725257635]