Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.884/0.884, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.715/1.715, allocations: 377.9 MB / 0.624 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.8121 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.235e-05, allocations: 4.844 kB / 0.8121 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001528/0.001541, allocations: 1.499 MB / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.004288, allocations: 2.773 MB / 0.8163 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.004324, allocations: 4 kB / 0.8163 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.004342, allocations: 4.656 kB / 0.8163 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.004391, allocations: 19.78 kB / 0.8163 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.006662, allocations: 1.63 MB / 0.8179 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.006722, allocations: 47.67 kB / 0.8179 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.499e-05/0.006747, allocations: 7.906 kB / 0.818 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.006781, allocations: 20.5 kB / 0.818 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 1.653e-05/0.006798, allocations: 12.75 kB / 0.818 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.006806, allocations: 4 kB / 0.818 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.008201, allocations: 1.494 MB / 0.8194 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.008209, allocations: 3.531 kB / 0.8195 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.008226, allocations: 11.94 kB / 0.8195 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.009288, allocations: 1.286 MB / 0.8207 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.00929, allocations: 0 / 0.8207 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.42e-07/0.009291, allocations: 0 / 0.8207 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.009293, allocations: 0 / 0.8207 GB, free: 8.574 MB / 0.7761 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.0003705/0.009664, allocations: 0.5647 MB / 0.8213 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.009694, allocations: 15.97 kB / 0.8213 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.009738, allocations: 124.1 kB / 0.8214 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.009847, allocations: 241.8 kB / 0.8216 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/0.0099, allocations: 238.8 kB / 0.8219 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.009953, allocations: 246.7 kB / 0.8221 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.145e-05/0.01, allocations: 145.5 kB / 0.8222 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.01003, allocations: 123.4 kB / 0.8224 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.01008, allocations: 246.5 kB / 0.8226 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/0.01013, allocations: 239.4 kB / 0.8228 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.165e-05/0.01018, allocations: 246.3 kB / 0.8231 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.01038, allocations: 0.5686 MB / 0.8236 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.03e-05/0.01045, allocations: 270.6 kB / 0.8239 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.01048, allocations: 130.9 kB / 0.824 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.0105, allocations: 120.2 kB / 0.8241 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.01054, allocations: 152.6 kB / 0.8242 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.01054, allocations: 3.938 kB / 0.8243 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.287e-05/0.01058, allocations: 34.78 kB / 0.8243 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.01062, allocations: 170.6 kB / 0.8244 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.01071, allocations: 195.4 kB / 0.8246 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.01072, allocations: 26.58 kB / 0.8247 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.01077, allocations: 142.9 kB / 0.8248 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.01077, allocations: 1.688 kB / 0.8248 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.01079, allocations: 23.36 kB / 0.8248 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.0109, allocations: 0.4923 MB / 0.8253 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.01091, allocations: 0 / 0.8253 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-06/0.01092, allocations: 4 kB / 0.8253 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.729e-05/0.01094, allocations: 16.12 kB / 0.8253 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01094, allocations: 1.344 kB / 0.8253 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.018e-05/0.01101, allocations: 53.64 kB / 0.8254 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.01102, allocations: 4 kB / 0.8254 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.01104, allocations: 4.688 kB / 0.8254 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.01104, allocations: 0 / 0.8254 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.535e-06/0.01105, allocations: 0.6562 kB / 0.8254 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.01105, allocations: 3.938 kB / 0.8254 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.265e-05/0.01106, allocations: 8.453 kB / 0.8254 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.01107, allocations: 2.25 kB / 0.8254 GB, free: 3.586 MB / 0.7761 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 7.508e-05/0.01114, allocations: 271.8 kB / 0.8257 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.01119, allocations: 152.8 kB / 0.8258 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.01123, allocations: 156.7 kB / 0.826 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.258e-05/0.01128, allocations: 264.1 kB / 0.8262 GB, free: 2.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.135e-05/0.01133, allocations: 272 kB / 0.8265 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-05/0.01139, allocations: 278 kB / 0.8267 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.01153, allocations: 488.4 kB / 0.8272 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.083e-05/0.01156, allocations: 148.9 kB / 0.8273 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.01159, allocations: 153 kB / 0.8275 GB, free: 1.359 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.173e-05/0.01165, allocations: 268.1 kB / 0.8277 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.748e-05/0.0117, allocations: 273.7 kB / 0.828 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.094e-05/0.01176, allocations: 268 kB / 0.8283 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.068e-05/0.01181, allocations: 264.1 kB / 0.8285 GB, free: 288 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.01193, allocations: 460 kB / 0.8289 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.01196, allocations: 156.9 kB / 0.8291 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.01202, allocations: 268 kB / 0.8293 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.01207, allocations: 152.9 kB / 0.8295 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.01212, allocations: 276 kB / 0.8298 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.01215, allocations: 144.9 kB / 0.8299 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.01219, allocations: 140.7 kB / 0.83 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.01219, allocations: 0 / 0.83 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004159/0.01261, allocations: 295 kB / 0.8303 GB, free: 14.36 MB / 0.7917 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.0006539/0.01326, allocations: 0.6458 MB / 0.8309 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 6.164e-05/0.01332, allocations: 49.38 kB / 0.831 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01332, allocations: 0 / 0.831 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.01333, allocations: 3.938 kB / 0.831 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.01361, allocations: 0.7062 MB / 0.8317 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000207/0.01382, allocations: 273.4 kB / 0.8319 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.809e-05/0.01385, allocations: 63.2 kB / 0.832 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 8.466e-06/0.01385, allocations: 0 / 0.832 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.01389, allocations: 78.19 kB / 0.8321 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of SimCode: time 4.91e-07/0.01389, allocations: 0 / 0.8321 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of Templates: time 0.007525/0.02142, allocations: 7.367 MB / 0.8393 GB, free: 5.168 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.837998669128865]