Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: 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_10_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_10_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.001488/0.001488, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.00147/0.00147, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.525/2.525, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 63.91 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003712/1.051, allocations: 1.441 MB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005473/1.056, allocations: 2.853 MB / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/1.056, allocations: 0 / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/1.056, allocations: 3.938 kB / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/1.056, allocations: 11.86 kB / 1.172 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005542/1.062, allocations: 1.568 MB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/1.062, allocations: 43.73 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.542e-05/1.062, allocations: 7.797 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/1.062, allocations: 11.94 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/1.062, allocations: 19.92 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/1.062, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/1.066, allocations: 1.49 MB / 1.175 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/1.066, allocations: 3.938 kB / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/1.066, allocations: 19.88 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003188/1.069, allocations: 1.078 MB / 1.176 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.22e-05/1.069, allocations: 7.984 kB / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.647e-06/1.069, allocations: 0 / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.689e-06/1.069, allocations: 0 / 1.176 GB, free: 11.29 MB / 0.9044 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.001222/1.07, allocations: 0.5223 MB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/1.07, allocations: 8.922 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.827e-05/1.07, allocations: 80.22 kB / 1.176 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/1.071, allocations: 251.5 kB / 1.177 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.553e-05/1.071, allocations: 150.9 kB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.41e-05/1.071, allocations: 154.9 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/1.071, allocations: 109.1 kB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.841e-05/1.071, allocations: 75.28 kB / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/1.071, allocations: 158.6 kB / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.189e-05/1.071, allocations: 150.6 kB / 1.177 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/1.071, allocations: 158.5 kB / 1.177 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/1.072, allocations: 465.8 kB / 1.178 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/1.072, allocations: 165.1 kB / 1.178 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.45e-05/1.072, allocations: 80.14 kB / 1.178 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/1.072, allocations: 79.28 kB / 1.178 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.511e-05/1.072, allocations: 109.8 kB / 1.178 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 2.455e-06/1.072, allocations: 3.938 kB / 1.178 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001137/1.072, allocations: 29.7 kB / 1.178 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/1.072, allocations: 130.7 kB / 1.178 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/1.072, allocations: 132.4 kB / 1.179 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/1.073, allocations: 25.7 kB / 1.179 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/1.073, allocations: 100.1 kB / 1.179 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-06/1.073, allocations: 3.938 kB / 1.179 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/1.073, allocations: 13.72 kB / 1.179 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.073, allocations: 322.8 kB / 1.179 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/1.073, allocations: 0 / 1.179 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/1.073, allocations: 4.031 kB / 1.179 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.771e-05/1.073, allocations: 20.8 kB / 1.179 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.073, allocations: 0 / 1.179 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000187/1.073, allocations: 53.72 kB / 1.179 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.073, allocations: 8 kB / 1.179 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/1.073, allocations: 4 kB / 1.179 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/1.073, allocations: 0 / 1.179 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/1.073, allocations: 0 / 1.179 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.073, allocations: 0 / 1.179 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/1.073, allocations: 7.906 kB / 1.179 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/1.073, allocations: 0 / 1.179 GB, free: 7.543 MB / 0.9044 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.0001718/1.074, allocations: 181.1 kB / 1.179 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.793e-05/1.074, allocations: 124.8 kB / 1.179 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/1.074, allocations: 112.8 kB / 1.18 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/1.074, allocations: 184.3 kB / 1.18 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001156/1.074, allocations: 180.2 kB / 1.18 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.05e-05/1.074, allocations: 176.3 kB / 1.18 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/1.074, allocations: 421.1 kB / 1.18 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.722e-05/1.074, allocations: 104.9 kB / 1.181 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/1.074, allocations: 105 kB / 1.181 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-05/1.075, allocations: 184.2 kB / 1.181 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-05/1.075, allocations: 180.3 kB / 1.181 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.066e-05/1.075, allocations: 184.2 kB / 1.181 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-05/1.075, allocations: 180.3 kB / 1.181 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/1.075, allocations: 311.7 kB / 1.182 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/1.075, allocations: 189.9 kB / 1.182 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/1.075, allocations: 184.2 kB / 1.182 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/1.075, allocations: 101 kB / 1.182 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.787e-05/1.075, allocations: 188.2 kB / 1.182 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-05/1.076, allocations: 105 kB / 1.182 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.236e-05/1.076, allocations: 101.9 kB / 1.182 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.054e-06/1.076, allocations: 0 / 1.182 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001156/1.077, allocations: 279.7 kB / 1.183 GB, free: 3.617 MB / 0.9044 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.001833/1.079, allocations: 0.5148 MB / 1.183 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001301/1.079, allocations: 41.69 kB / 1.183 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.079, allocations: 0 / 1.183 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.54e-06/1.079, allocations: 3.938 kB / 1.183 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/1.079, allocations: 463.6 kB / 1.184 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/1.08, allocations: 261.8 kB / 1.184 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/1.08, allocations: 0.6846 MB / 1.185 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/1.08, allocations: 11.44 kB / 1.185 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of SimCode: time 1.733e-06/1.08, allocations: 3.938 kB / 1.185 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of Templates: time 0.009274/1.089, allocations: 4.643 MB / 1.189 GB, free: 12.93 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches