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.InternalResistancesTwoUTube.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.001392/0.001392, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001784/0.001784, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 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.9825/0.9825, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.217/2.217, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8898 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.43e-05, allocations: 9.406 kB / 0.8899 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001815/0.001839, allocations: 1.493 MB / 0.8913 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002834/0.004673, allocations: 2.785 MB / 0.894 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.00471, allocations: 0 / 0.894 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.004728, allocations: 3.938 kB / 0.894 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.00478, allocations: 15.91 kB / 0.894 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.007076, allocations: 1.637 MB / 0.8956 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.007138, allocations: 51.67 kB / 0.8957 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.834e-05/0.007166, allocations: 7.938 kB / 0.8957 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.007204, allocations: 19.91 kB / 0.8957 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 1.697e-05/0.007221, allocations: 12 kB / 0.8957 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.007231, allocations: 4 kB / 0.8957 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.008644, allocations: 1.493 MB / 0.8972 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.008655, allocations: 3.938 kB / 0.8972 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.008673, allocations: 11.94 kB / 0.8972 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.009804, allocations: 1.286 MB / 0.8985 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.009806, allocations: 4 kB / 0.8985 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.51e-07/0.009807, allocations: 0 / 0.8985 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.009809, allocations: 0 / 0.8985 GB, free: 0.7695 MB / 0.8542 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.0003998/0.01021, allocations: 0.5643 MB / 0.899 GB, free: 172 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.01024, allocations: 12.62 kB / 0.899 GB, free: 160 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.01028, allocations: 120.1 kB / 0.8991 GB, free: 40 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.01039, allocations: 247.6 kB / 0.8994 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.01044, allocations: 238.8 kB / 0.8996 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.01049, allocations: 246.7 kB / 0.8998 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.545e-05/0.01055, allocations: 145.5 kB / 0.9 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.01058, allocations: 127.4 kB / 0.9001 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/0.01063, allocations: 246.5 kB / 0.9003 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.642e-05/0.01067, allocations: 238.4 kB / 0.9006 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.601e-05/0.01072, allocations: 238.4 kB / 0.9008 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.01091, allocations: 0.5647 MB / 0.9013 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.841e-05/0.01098, allocations: 269.4 kB / 0.9016 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.01101, allocations: 134.9 kB / 0.9017 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.01103, allocations: 119.2 kB / 0.9018 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.01107, allocations: 152.6 kB / 0.902 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 6.22e-07/0.01107, allocations: 0 / 0.902 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 4.74e-05/0.01112, allocations: 41.59 kB / 0.902 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.01116, allocations: 174.6 kB / 0.9022 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.01125, allocations: 195.8 kB / 0.9024 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.01126, allocations: 29.64 kB / 0.9024 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.0113, allocations: 146.8 kB / 0.9026 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.41e-07/0.0113, allocations: 0 / 0.9026 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.01133, allocations: 19.38 kB / 0.9026 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.01143, allocations: 0.4923 MB / 0.9031 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.01144, allocations: 0 / 0.9031 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-06/0.01145, allocations: 4 kB / 0.9031 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.01147, allocations: 11.69 kB / 0.9031 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01147, allocations: 4.031 kB / 0.9031 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.46e-05/0.01155, allocations: 57.58 kB / 0.9031 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.01156, allocations: 4 kB / 0.9031 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.01157, allocations: 4 kB / 0.9031 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.01158, allocations: 0 / 0.9031 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-06/0.01158, allocations: 0 / 0.9031 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.01159, allocations: 3.938 kB / 0.9031 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.0116, allocations: 4 kB / 0.9031 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.0116, allocations: 0 / 0.9031 GB, free: 11.77 MB / 0.8698 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.338e-05/0.01168, allocations: 275.8 kB / 0.9034 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.01172, allocations: 156.9 kB / 0.9036 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.01176, allocations: 160.6 kB / 0.9037 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.981e-05/0.01181, allocations: 264.1 kB / 0.904 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.138e-05/0.01186, allocations: 268 kB / 0.9042 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.419e-05/0.01192, allocations: 276 kB / 0.9045 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.01206, allocations: 484.5 kB / 0.9049 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/0.01209, allocations: 152.8 kB / 0.9051 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.01212, allocations: 144.9 kB / 0.9052 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-05/0.01218, allocations: 272 kB / 0.9055 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.01223, allocations: 268.1 kB / 0.9057 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.282e-05/0.01228, allocations: 268.1 kB / 0.906 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.315e-05/0.01234, allocations: 272 kB / 0.9063 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.01245, allocations: 463.8 kB / 0.9067 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.01249, allocations: 152.8 kB / 0.9068 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.01255, allocations: 264.1 kB / 0.9071 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.0126, allocations: 148.8 kB / 0.9072 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.01266, allocations: 272.1 kB / 0.9075 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.01269, allocations: 148.8 kB / 0.9076 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.01273, allocations: 145.3 kB / 0.9078 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.01273, allocations: 0 / 0.9078 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004158/0.01314, allocations: 295 kB / 0.9081 GB, free: 6.543 MB / 0.8698 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.0006573/0.0138, allocations: 0.6457 MB / 0.9087 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.393e-05/0.01387, allocations: 45.39 kB / 0.9087 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01387, allocations: 3.938 kB / 0.9087 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.01387, allocations: 3.984 kB / 0.9087 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.01416, allocations: 0.718 MB / 0.9094 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001969/0.01436, allocations: 269.2 kB / 0.9097 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.739e-05/0.01439, allocations: 59.34 kB / 0.9098 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.986e-06/0.0144, allocations: 0 / 0.9098 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.01444, allocations: 78.19 kB / 0.9098 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of SimCode: time 5.01e-07/0.01444, allocations: 0 / 0.9098 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of Templates: time 0.007649/0.02209, allocations: 7.371 MB / 0.917 GB, free: 13.34 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.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: 5.368550711777061]