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.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.0008766/0.0008766, 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.0008933/0.0008933, allocations: 181 kB / 24.09 MB, free: 420 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.8554/0.8554, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.741/1.741, allocations: 377.9 MB / 0.6239 GB, free: 8.395 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.InternalResistancesTwoUTube,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.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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.8121 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.217e-06/1.048e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001473/0.001484, allocations: 1.511 MB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002771/0.004255, allocations: 2.766 MB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.004282, allocations: 0 / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.004297, allocations: 3.938 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.004341, allocations: 15.91 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.006487, allocations: 1.638 MB / 0.8179 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.82e-05/0.006545, allocations: 47.67 kB / 0.8179 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.582e-05/0.006571, allocations: 8.859 kB / 0.818 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.605e-05/0.006607, allocations: 23.91 kB / 0.818 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 1.763e-05/0.006624, allocations: 12 kB / 0.818 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.006633, allocations: 3.375 kB / 0.818 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.007909, allocations: 1.493 MB / 0.8194 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.00792, allocations: 7.938 kB / 0.8195 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.4e-05/0.007934, allocations: 8 kB / 0.8195 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.008913, allocations: 1.286 MB / 0.8207 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.008915, allocations: 0 / 0.8207 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.91e-07/0.008915, allocations: 0 / 0.8207 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.836e-06/0.008918, allocations: 4.5 kB / 0.8207 GB, free: 8.52 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.0005683/0.009487, allocations: 0.5666 MB / 0.8213 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.009516, allocations: 8.031 kB / 0.8213 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.009558, allocations: 128.1 kB / 0.8214 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.977e-05/0.009638, allocations: 231.8 kB / 0.8216 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.009684, allocations: 242.7 kB / 0.8219 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.009728, allocations: 243.4 kB / 0.8221 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.644e-05/0.009774, allocations: 149.5 kB / 0.8222 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.009798, allocations: 121.6 kB / 0.8223 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.009843, allocations: 246.5 kB / 0.8226 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.038e-05/0.009894, allocations: 242.4 kB / 0.8228 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.009936, allocations: 246.4 kB / 0.823 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.01011, allocations: 0.5646 MB / 0.8236 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.456e-05/0.01017, allocations: 269.4 kB / 0.8239 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.0102, allocations: 134 kB / 0.824 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.01022, allocations: 123.2 kB / 0.8241 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.01026, allocations: 152.6 kB / 0.8242 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.01026, allocations: 0 / 0.8242 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.166e-05/0.0103, allocations: 37.59 kB / 0.8243 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.01034, allocations: 170.6 kB / 0.8244 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.01042, allocations: 190.4 kB / 0.8246 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.01043, allocations: 25.7 kB / 0.8247 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.01047, allocations: 139.8 kB / 0.8248 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.012e-06/0.01047, allocations: 4 kB / 0.8248 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.01049, allocations: 23.38 kB / 0.8248 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.01058, allocations: 0.4895 MB / 0.8253 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.01059, allocations: 7.938 kB / 0.8253 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.0106, allocations: 5.062 kB / 0.8253 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.01062, allocations: 15.67 kB / 0.8253 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01062, allocations: 0 / 0.8253 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.787e-05/0.01069, allocations: 50.67 kB / 0.8254 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.0107, allocations: 9.875 kB / 0.8254 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.01072, allocations: 4 kB / 0.8254 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.233e-06/0.01072, allocations: 1.25 kB / 0.8254 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-06/0.01073, allocations: 0 / 0.8254 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.01073, allocations: 3.938 kB / 0.8254 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.01074, allocations: 9.609 kB / 0.8254 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.01075, allocations: 4 kB / 0.8254 GB, free: 3.535 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 6.953e-05/0.01082, allocations: 271.8 kB / 0.8257 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.01085, allocations: 148.9 kB / 0.8258 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.01089, allocations: 157.1 kB / 0.8259 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.842e-05/0.01094, allocations: 269 kB / 0.8262 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.793e-05/0.01099, allocations: 268 kB / 0.8265 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.67e-05/0.01103, allocations: 268 kB / 0.8267 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.01117, allocations: 493.6 kB / 0.8272 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/0.0112, allocations: 148.8 kB / 0.8273 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.01122, allocations: 149 kB / 0.8275 GB, free: 1.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.866e-05/0.01127, allocations: 281.3 kB / 0.8277 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.01132, allocations: 268.1 kB / 0.828 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.936e-05/0.01137, allocations: 268.1 kB / 0.8283 GB, free: 0.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002674/0.01164, allocations: 269.1 kB / 0.8285 GB, free: 236 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.01174, allocations: 455.8 kB / 0.8289 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.01178, allocations: 152.8 kB / 0.8291 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.01183, allocations: 273 kB / 0.8293 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.893e-05/0.01188, allocations: 148.9 kB / 0.8295 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.01193, allocations: 271.3 kB / 0.8297 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.01196, allocations: 152.8 kB / 0.8299 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.01199, allocations: 139.2 kB / 0.83 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4e-08/0.01199, allocations: 0 / 0.83 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003768/0.01237, allocations: 295 kB / 0.8303 GB, free: 14.32 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.0006235/0.01299, allocations: 0.6461 MB / 0.8309 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 6.083e-05/0.01305, allocations: 45.38 kB / 0.831 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.51e-07/0.01305, allocations: 0 / 0.831 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-06/0.01306, allocations: 4 kB / 0.831 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.01332, allocations: 0.7061 MB / 0.8317 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.01351, allocations: 275.1 kB / 0.8319 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.547e-05/0.01353, allocations: 67.14 kB / 0.832 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 7.624e-06/0.01354, allocations: 0 / 0.832 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.01358, allocations: 78.19 kB / 0.8321 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of SimCode: time 5.41e-07/0.01358, allocations: 0 / 0.8321 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of Templates: time 0.007423/0.021, allocations: 7.36 MB / 0.8393 GB, free: 5.129 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.7454340509139]