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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 110.3 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.695/2.695, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 55.91 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.872/0.8734, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004849/0.8784, allocations: 3.051 MB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003288/0.8817, allocations: 2.148 MB / 1.214 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003983/0.8821, allocations: 4 kB / 1.214 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.884, allocations: 0.4995 MB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000529/0.8845, allocations: 142.9 kB / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.8847, allocations: 59.89 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006871/0.8854, allocations: 445.9 kB / 1.215 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.8857, allocations: 151.2 kB / 1.215 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.886, allocations: 163.3 kB / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.8863, allocations: 179.2 kB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.623e-05/0.8864, allocations: 32 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.8865, allocations: 36 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.8867, allocations: 103.6 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.8869, allocations: 214.9 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005437/0.8875, allocations: 0.5489 MB / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8875, allocations: 0 / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8875, allocations: 0 / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.8875, allocations: 0 / 1.216 GB, free: 5.812 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.001069/0.8886, allocations: 0.7006 MB / 1.217 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.8887, allocations: 12.03 kB / 1.217 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.231e-05/0.8887, allocations: 48.38 kB / 1.217 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/0.8893, allocations: 378 kB / 1.217 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.8893, allocations: 16.81 kB / 1.217 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.8894, allocations: 20.38 kB / 1.217 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.8898, allocations: 203.6 kB / 1.217 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.8898, allocations: 0 / 1.217 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.8899, allocations: 12 kB / 1.217 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.8899, allocations: 7.938 kB / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.8903, allocations: 169.6 kB / 1.218 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.8915, allocations: 0.8622 MB / 1.218 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.8918, allocations: 150.6 kB / 1.219 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.892, allocations: 116.8 kB / 1.219 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.8921, allocations: 3.938 kB / 1.219 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.8921, allocations: 38.56 kB / 1.219 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.8921, allocations: 0 / 1.219 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0006375/0.8928, allocations: 259.5 kB / 1.219 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.8928, allocations: 51.41 kB / 1.219 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.8933, allocations: 417.7 kB / 1.219 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.8933, allocations: 29.64 kB / 1.219 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.8935, allocations: 212.2 kB / 1.22 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.8935, allocations: 59.11 kB / 1.22 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.8936, allocations: 33.7 kB / 1.22 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8938, allocations: 346.8 kB / 1.22 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.8939, allocations: 55.97 kB / 1.22 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.8941, allocations: 61.28 kB / 1.22 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.8944, allocations: 135 kB / 1.22 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.8944, allocations: 0 / 1.22 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004029/0.8948, allocations: 209.1 kB / 1.22 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.8948, allocations: 4 kB / 1.22 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8949, allocations: 0 / 1.22 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.8949, allocations: 7.938 kB / 1.22 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.8951, allocations: 51.91 kB / 1.221 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.8952, allocations: 4 kB / 1.221 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.8953, allocations: 23.83 kB / 1.221 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.8953, allocations: 4 kB / 1.221 GB, free: 0.9336 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.0001783/0.8955, allocations: 161.8 kB / 1.221 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.8956, allocations: 35.53 kB / 1.221 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.212e-05/0.8957, allocations: 43.53 kB / 1.221 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8957, allocations: 4 kB / 1.221 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.8957, allocations: 0 / 1.221 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.8957, allocations: 11.92 kB / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.8961, allocations: 373.3 kB / 1.221 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8962, allocations: 0 / 1.221 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.8964, allocations: 51.97 kB / 1.221 GB, free: 208 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.8964, allocations: 4 kB / 1.221 GB, free: 204 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.8965, allocations: 3.938 kB / 1.221 GB, free: 200 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.8965, allocations: 4 kB / 1.221 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.8965, allocations: 3.984 kB / 1.221 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006552/0.8971, allocations: 379.2 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.8973, allocations: 124.6 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.8973, allocations: 3.938 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.8975, allocations: 11.98 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.8976, allocations: 11.98 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.8976, allocations: 8 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000345/0.8979, allocations: 307.1 kB / 1.222 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.8979, allocations: 0 / 1.222 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003169/0.8983, allocations: 71.84 kB / 1.222 GB, free: 15.26 MB / 0.9512 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.0001418/0.8984, allocations: 111.2 kB / 1.222 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.8988, allocations: 143.8 kB / 1.222 GB, free: 15 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8988, allocations: 0 / 1.222 GB, free: 15 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.899, allocations: 87.89 kB / 1.222 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.8995, allocations: 86.75 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.9009, allocations: 0.7804 MB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.9013, allocations: 0.8028 MB / 1.224 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.9014, allocations: 27.38 kB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.9014, allocations: 0 / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of Templates: time 0.007932/0.9093, allocations: 4.393 MB / 1.228 GB, free: 8.812 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) 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) Reference file matches