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.InternalResistancesOneUTubeNegative.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.0009565/0.0009565, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009907/0.0009907, allocations: 165 kB / 23.82 MB, free: 0.7422 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.8788/0.8788, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.725/1.725, allocations: 377.9 MB / 0.6236 GB, free: 8.555 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8116 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.704e-05, allocations: 5.266 kB / 0.8116 GB, free: 1.613 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001663/0.00168, allocations: 1.502 MB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002973/0.004653, allocations: 2.799 MB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.004687, allocations: 0 / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.004707, allocations: 3.984 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.00476, allocations: 15.86 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.007103, allocations: 1.61 MB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.667e-05/0.007169, allocations: 47.67 kB / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.004e-05/0.007199, allocations: 1.344 kB / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.831e-05/0.007238, allocations: 15.98 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.168e-05/0.007259, allocations: 19.92 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.00727, allocations: 0.9062 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.008652, allocations: 1.455 MB / 0.8189 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.008667, allocations: 7.938 kB / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.008689, allocations: 8.656 kB / 0.819 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.009746, allocations: 1.251 MB / 0.8202 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.009748, allocations: 2.812 kB / 0.8202 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.82e-07/0.009748, allocations: 3.938 kB / 0.8202 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.009752, allocations: 0 / 0.8202 GB, free: 8.902 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.0003922/0.01014, allocations: 0.5531 MB / 0.8207 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.01018, allocations: 8.031 kB / 0.8207 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.01024, allocations: 128.1 kB / 0.8208 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/0.01033, allocations: 247.7 kB / 0.8211 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.084e-05/0.01038, allocations: 245.5 kB / 0.8213 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.01043, allocations: 242.7 kB / 0.8216 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.308e-05/0.01049, allocations: 145.5 kB / 0.8217 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.01051, allocations: 127.3 kB / 0.8218 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.01056, allocations: 242.5 kB / 0.822 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.767e-05/0.01061, allocations: 242.4 kB / 0.8223 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.01066, allocations: 238.4 kB / 0.8225 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.01086, allocations: 0.5798 MB / 0.8231 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.836e-05/0.01094, allocations: 270.4 kB / 0.8233 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.01097, allocations: 130.8 kB / 0.8234 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.011, allocations: 120.2 kB / 0.8236 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.01104, allocations: 160.6 kB / 0.8237 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.01104, allocations: 0 / 0.8237 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.969e-05/0.01109, allocations: 34.75 kB / 0.8238 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.01113, allocations: 174.5 kB / 0.8239 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.01124, allocations: 188.6 kB / 0.8241 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.01125, allocations: 25.7 kB / 0.8241 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.01129, allocations: 142.9 kB / 0.8243 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.0113, allocations: 1.062 kB / 0.8243 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.01132, allocations: 19.38 kB / 0.8243 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.01143, allocations: 0.4923 MB / 0.8248 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.01144, allocations: 5.469 kB / 0.8248 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.978e-06/0.01145, allocations: 4 kB / 0.8248 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.01148, allocations: 15.69 kB / 0.8248 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01148, allocations: 0 / 0.8248 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.131e-05/0.01157, allocations: 48.36 kB / 0.8248 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.01158, allocations: 4 kB / 0.8248 GB, free: 3.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.0116, allocations: 4 kB / 0.8248 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.01161, allocations: 0 / 0.8248 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.865e-06/0.01161, allocations: 3.938 kB / 0.8248 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.01161, allocations: 0 / 0.8248 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.01163, allocations: 7.938 kB / 0.8248 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.01163, allocations: 0.7188 kB / 0.8248 GB, free: 3.914 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.417e-05/0.01171, allocations: 275.7 kB / 0.8251 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.01175, allocations: 158.4 kB / 0.8253 GB, free: 3.473 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.01179, allocations: 160.7 kB / 0.8254 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.248e-05/0.01185, allocations: 268 kB / 0.8257 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-05/0.0119, allocations: 268 kB / 0.8259 GB, free: 2.773 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.062e-05/0.01195, allocations: 272.5 kB / 0.8262 GB, free: 2.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.0121, allocations: 0.5012 MB / 0.8267 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-05/0.01213, allocations: 144.9 kB / 0.8268 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.01216, allocations: 148.8 kB / 0.827 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.112e-05/0.01221, allocations: 268.2 kB / 0.8272 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/0.01227, allocations: 272.9 kB / 0.8275 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.025e-05/0.01232, allocations: 264.1 kB / 0.8277 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.265e-05/0.01237, allocations: 280.1 kB / 0.828 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.01248, allocations: 443.9 kB / 0.8284 GB, free: 108 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.01252, allocations: 156.8 kB / 0.8286 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.01258, allocations: 268.1 kB / 0.8288 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.01263, allocations: 152.9 kB / 0.829 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.01269, allocations: 280 kB / 0.8292 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.01272, allocations: 148.9 kB / 0.8294 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.01277, allocations: 141 kB / 0.8295 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01277, allocations: 0 / 0.8295 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004227/0.01319, allocations: 291 kB / 0.8298 GB, free: 14.66 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.0007027/0.01389, allocations: 0.6172 MB / 0.8304 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 7.908e-05/0.01397, allocations: 49.33 kB / 0.8304 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01397, allocations: 0 / 0.8304 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.01397, allocations: 0 / 0.8304 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.01429, allocations: 0.7101 MB / 0.8311 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.01453, allocations: 281.2 kB / 0.8314 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.026e-05/0.01456, allocations: 55.34 kB / 0.8314 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 8.787e-06/0.01457, allocations: 0 / 0.8314 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.01458, allocations: 12.5 kB / 0.8315 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of SimCode: time 6.11e-07/0.01458, allocations: 0 / 0.8315 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of Templates: time 0.008787/0.02337, allocations: 7.861 MB / 0.8391 GB, free: 5.062 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.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.754352428950369]