Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00114/0.00114, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008916/0.008916, allocations: 170 kB / 16.26 MB, free: 6.613 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.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.473/2.473, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003899, allocations: 8 kB / 0.816 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8369/0.8373, allocations: 142.4 MB / 0.9551 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001532/0.8389, allocations: 1.153 MB / 0.9562 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004263/0.8431, allocations: 2.89 MB / 0.959 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.8432, allocations: 0 / 0.959 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.8432, allocations: 7.922 kB / 0.959 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.296e-05/0.8433, allocations: 10.67 kB / 0.9591 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003517/0.8469, allocations: 1.371 MB / 0.9604 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.915e-05/0.8469, allocations: 45.55 kB / 0.9604 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.847, allocations: 1.375 kB / 0.9604 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.006e-05/0.847, allocations: 12.19 kB / 0.9605 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.719e-05/0.8471, allocations: 14.8 kB / 0.9605 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.8471, allocations: 1.375 kB / 0.9605 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.8491, allocations: 1.432 MB / 0.9619 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.8492, allocations: 9.156 kB / 0.9619 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.8492, allocations: 41.08 kB / 0.9619 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.8507, allocations: 1.088 MB / 0.963 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8507, allocations: 1.156 kB / 0.963 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8507, allocations: 0 / 0.963 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.8507, allocations: 0 / 0.963 GB, free: 2.152 MB / 0.7169 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.0006046/0.8513, allocations: 0.508 MB / 0.9635 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.8514, allocations: 9.25 kB / 0.9635 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.8514, allocations: 87.56 kB / 0.9636 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.8516, allocations: 244.6 kB / 0.9638 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.8516, allocations: 160 kB / 0.964 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.8516, allocations: 154.9 kB / 0.9641 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.659e-05/0.8517, allocations: 110.6 kB / 0.9642 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.8517, allocations: 75.28 kB / 0.9643 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.8518, allocations: 154.6 kB / 0.9644 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.8518, allocations: 151.8 kB / 0.9646 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.148e-05/0.8518, allocations: 150.6 kB / 0.9647 GB, free: 360 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.8522, allocations: 462.4 kB / 0.9652 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.8523, allocations: 173.1 kB / 0.9653 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.8523, allocations: 81.61 kB / 0.9654 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.8524, allocations: 75.28 kB / 0.9655 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.432e-05/0.8525, allocations: 114.8 kB / 0.9656 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.8525, allocations: 0 / 0.9656 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.876e-05/0.8526, allocations: 32.39 kB / 0.9656 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.8527, allocations: 130.7 kB / 0.9657 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.8528, allocations: 136.1 kB / 0.9659 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.8528, allocations: 25.7 kB / 0.9659 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.8529, allocations: 98.38 kB / 0.966 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.8529, allocations: 0 / 0.966 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.8529, allocations: 11.91 kB / 0.966 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8531, allocations: 324.2 kB / 0.9663 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.8531, allocations: 3.656 kB / 0.9663 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.8531, allocations: 3.281 kB / 0.9663 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/0.8532, allocations: 18.23 kB / 0.9663 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8532, allocations: 0 / 0.9663 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001426/0.8533, allocations: 55.31 kB / 0.9664 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.8534, allocations: 5.125 kB / 0.9664 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.8534, allocations: 1.375 kB / 0.9664 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.8534, allocations: 1.281 kB / 0.9664 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.8534, allocations: 0 / 0.9664 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.8534, allocations: 0 / 0.9664 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/0.8535, allocations: 5.062 kB / 0.9664 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.8535, allocations: 5 kB / 0.9664 GB, free: 14.57 MB / 0.7325 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.0001207/0.8536, allocations: 187.6 kB / 0.9666 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/0.8537, allocations: 107.1 kB / 0.9667 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.145e-05/0.8537, allocations: 118.9 kB / 0.9668 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.682e-05/0.8538, allocations: 181.2 kB / 0.967 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.655e-05/0.8539, allocations: 177.4 kB / 0.9671 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.546e-05/0.854, allocations: 185.4 kB / 0.9673 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.8542, allocations: 411.8 kB / 0.9677 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.221e-05/0.8543, allocations: 113.1 kB / 0.9678 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/0.8543, allocations: 106 kB / 0.9679 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-05/0.8544, allocations: 185.5 kB / 0.9681 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.8545, allocations: 185.6 kB / 0.9683 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.877e-05/0.8546, allocations: 181.6 kB / 0.9684 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.178e-05/0.8546, allocations: 176.3 kB / 0.9686 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.8548, allocations: 309.2 kB / 0.9689 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.8549, allocations: 196.1 kB / 0.9691 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/0.855, allocations: 181.3 kB / 0.9693 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.8551, allocations: 106 kB / 0.9694 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.8552, allocations: 185.2 kB / 0.9695 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.8552, allocations: 102.1 kB / 0.9696 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.641e-05/0.8553, allocations: 102.7 kB / 0.9697 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8553, allocations: 0 / 0.9697 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000867/0.8562, allocations: 278.1 kB / 0.97 GB, free: 10.89 MB / 0.7325 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.001178/0.8574, allocations: 0.5228 MB / 0.9705 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.8575, allocations: 44.5 kB / 0.9706 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.8575, allocations: 0.9688 kB / 0.9706 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.8575, allocations: 0 / 0.9706 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.858, allocations: 0.5302 MB / 0.9711 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.8583, allocations: 262.9 kB / 0.9713 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.8586, allocations: 0.6844 MB / 0.972 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.368e-05/0.8586, allocations: 0 / 0.972 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.8586, allocations: 9.406 kB / 0.972 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.8586, allocations: 1.188 kB / 0.972 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of Templates: time 0.01057/0.8692, allocations: 5.462 MB / 0.9773 GB, free: 6.262 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches