Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009572/0.009572, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002084/0.002084, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.369/1.369, allocations: 222.9 MB / 240.4 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.609/2.609, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 71.89 kB / 1.054 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8067/0.808, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002861/0.8109, allocations: 1.43 MB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0047/0.8156, allocations: 2.869 MB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.8157, allocations: 0 / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.8158, allocations: 3.938 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.993e-05/0.8158, allocations: 23.84 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.8201, allocations: 1.545 MB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.911e-05/0.8202, allocations: 39.75 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.8203, allocations: 7.781 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.124e-05/0.8203, allocations: 15.94 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.624e-05/0.8204, allocations: 11.94 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/0.8204, allocations: 0 / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.8228, allocations: 1.494 MB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.8228, allocations: 7.938 kB / 1.215 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.8229, allocations: 19.86 kB / 1.215 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.8247, allocations: 1.078 MB / 1.216 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8247, allocations: 4 kB / 1.216 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8247, allocations: 0 / 1.216 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8248, allocations: 0 / 1.216 GB, free: 5.023 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007592/0.8255, allocations: 0.5106 MB / 1.217 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.8256, allocations: 8.031 kB / 1.217 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.8256, allocations: 80.22 kB / 1.217 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.8258, allocations: 259.5 kB / 1.217 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/0.8259, allocations: 154.9 kB / 1.217 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.826, allocations: 150.9 kB / 1.217 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.492e-05/0.826, allocations: 109.1 kB / 1.217 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.8261, allocations: 75.28 kB / 1.217 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/0.8261, allocations: 150.6 kB / 1.218 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/0.8262, allocations: 154.6 kB / 1.218 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.8262, allocations: 154.5 kB / 1.218 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.8266, allocations: 465.8 kB / 1.218 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.954e-05/0.8267, allocations: 165.1 kB / 1.218 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.8267, allocations: 84.14 kB / 1.219 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.8267, allocations: 83.22 kB / 1.219 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.8268, allocations: 117.7 kB / 1.219 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.8268, allocations: 0 / 1.219 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.232e-05/0.8269, allocations: 29.69 kB / 1.219 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.827, allocations: 130.7 kB / 1.219 GB, free: 2 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.8271, allocations: 135.3 kB / 1.219 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.8271, allocations: 25.7 kB / 1.219 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.8272, allocations: 88.14 kB / 1.219 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-06/0.8272, allocations: 0 / 1.219 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.8273, allocations: 29.64 kB / 1.219 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8274, allocations: 310.8 kB / 1.219 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.8274, allocations: 4 kB / 1.219 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.206e-05/0.8274, allocations: 8 kB / 1.219 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.8275, allocations: 24.84 kB / 1.22 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8275, allocations: 0 / 1.22 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001321/0.8276, allocations: 45.64 kB / 1.22 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.8277, allocations: 8 kB / 1.22 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.8277, allocations: 0 / 1.22 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.8277, allocations: 0 / 1.22 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-06/0.8277, allocations: 4 kB / 1.22 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.8277, allocations: 0 / 1.22 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.8278, allocations: 7.891 kB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.8278, allocations: 0 / 1.22 GB, free: 1.281 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001018/0.8279, allocations: 189.2 kB / 1.22 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.828, allocations: 112.9 kB / 1.22 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.828, allocations: 112.9 kB / 1.22 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.724e-05/0.8281, allocations: 188.2 kB / 1.22 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.395e-05/0.8281, allocations: 176.3 kB / 1.22 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.365e-05/0.8282, allocations: 184.3 kB / 1.22 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.8285, allocations: 413.2 kB / 1.221 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.246e-05/0.8285, allocations: 104.9 kB / 1.221 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.8286, allocations: 112.9 kB / 1.221 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.464e-05/0.8286, allocations: 176.3 kB / 1.221 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.316e-05/0.8287, allocations: 176.3 kB / 1.221 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-05/0.8288, allocations: 188.2 kB / 1.222 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.25e-05/0.8288, allocations: 184.3 kB / 1.222 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.829, allocations: 307.7 kB / 1.222 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.8291, allocations: 185.9 kB / 1.222 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.758e-05/0.8292, allocations: 192.2 kB / 1.222 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.8293, allocations: 101 kB / 1.223 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.8294, allocations: 184.2 kB / 1.223 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.8294, allocations: 109 kB / 1.223 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.829e-05/0.8295, allocations: 100.9 kB / 1.223 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8295, allocations: 0 / 1.223 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008056/0.8303, allocations: 279.7 kB / 1.223 GB, free: 13.36 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001183/0.8315, allocations: 0.5175 MB / 1.224 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.8316, allocations: 37.64 kB / 1.224 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8316, allocations: 0 / 1.224 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.8316, allocations: 0 / 1.224 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.832, allocations: 471.7 kB / 1.224 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.8324, allocations: 240 kB / 1.224 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.8327, allocations: 0.6807 MB / 1.225 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.735e-05/0.8327, allocations: 4 kB / 1.225 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.8327, allocations: 11.44 kB / 1.225 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of SimCode: time 3.4e-07/0.8327, allocations: 3.938 kB / 1.225 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.01004/0.8428, allocations: 5.466 MB / 1.23 GB, free: 5.93 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches