Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.00217/0.00217, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002949/0.002949, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.565/1.565, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 2.933/2.933, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8109 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.322e-05, allocations: 3.297 kB / 0.8109 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00324/0.003273, allocations: 1.445 MB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008297/0.01157, allocations: 3.853 MB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.01165, allocations: 0 / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.01182, allocations: 21.17 kB / 0.8161 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.01218, allocations: 27.84 kB / 0.8161 GB, free: 12.66 MB / 0.7761 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.006106/0.01829, allocations: 1.612 MB / 0.8177 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.01852, allocations: 103.6 kB / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.01858, allocations: 0 / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.01873, allocations: 57.97 kB / 0.8179 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.01903, allocations: 143.7 kB / 0.818 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.419e-05/0.01911, allocations: 16 kB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004959/0.02407, allocations: 2.41 MB / 0.8204 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.02442, allocations: 272.9 kB / 0.8206 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.02467, allocations: 152 kB / 0.8208 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.004976/0.02965, allocations: 2.461 MB / 0.8232 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.02965, allocations: 0 / 0.8232 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.232e-06/0.02965, allocations: 4.781 kB / 0.8232 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.094e-05/0.02968, allocations: 0 / 0.8232 GB, free: 5.445 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01001/0.03968, allocations: 1.271 MB / 0.8244 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.03973, allocations: 8.031 kB / 0.8244 GB, free: 4.133 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.04024, allocations: 92.25 kB / 0.8245 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.04078, allocations: 314.4 kB / 0.8248 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.0408, allocations: 4.375 kB / 0.8248 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.04084, allocations: 12.36 kB / 0.8248 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.04141, allocations: 390 kB / 0.8252 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.04143, allocations: 192 / 0.8252 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.04144, allocations: 384 / 0.8252 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.04146, allocations: 7.938 kB / 0.8252 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005911/0.04205, allocations: 432.7 kB / 0.8256 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.04282, allocations: 0.5654 MB / 0.8262 GB, free: 2.266 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006986/0.04352, allocations: 0.5605 MB / 0.8267 GB, free: 1.688 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/0.04392, allocations: 338.8 kB / 0.827 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007492/0.04467, allocations: 137.5 kB / 0.8272 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005208/0.04519, allocations: 405.5 kB / 0.8276 GB, free: 0.8086 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.04519, allocations: 0 / 0.8276 GB, free: 0.8086 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.001743/0.04694, allocations: 1.297 MB / 0.8288 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.04702, allocations: 85.05 kB / 0.8289 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.04853, allocations: 1.219 MB / 0.8301 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.04858, allocations: 29.7 kB / 0.8301 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.04883, allocations: 265.9 kB / 0.8304 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.0489, allocations: 26.08 kB / 0.8304 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004172/0.04931, allocations: 343.6 kB / 0.8307 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.04949, allocations: 306 kB / 0.831 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.05123, allocations: 1.369 MB / 0.8324 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.05298, allocations: 1.51 MB / 0.8338 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00834/0.06132, allocations: 3.562 MB / 0.8373 GB, free: 6.66 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.06133, allocations: 3.938 kB / 0.8373 GB, free: 6.656 MB / 0.7917 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005674/0.067, allocations: 4.015 MB / 0.8412 GB, free: 2.605 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.06702, allocations: 4 kB / 0.8412 GB, free: 2.602 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.06704, allocations: 4 kB / 0.8412 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/0.06707, allocations: 0 / 0.8412 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.06723, allocations: 23.92 kB / 0.8413 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.06724, allocations: 4.062 kB / 0.8413 GB, free: 2.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.06783, allocations: 245.3 kB / 0.8415 GB, free: 2.328 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.06789, allocations: 28.02 kB / 0.8415 GB, free: 2.301 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0004085/0.0683, allocations: 240.5 kB / 0.8418 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.06843, allocations: 79.33 kB / 0.8418 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.06979, allocations: 0.9361 MB / 0.8428 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.0698, allocations: 0 / 0.8428 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.06981, allocations: 7.875 kB / 0.8428 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.06981, allocations: 0 / 0.8428 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.07039, allocations: 451.4 kB / 0.8432 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.07039, allocations: 0 / 0.8432 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.07047, allocations: 7.984 kB / 0.8432 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.07047, allocations: 0 / 0.8432 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.07049, allocations: 4 kB / 0.8432 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.07049, allocations: 0 / 0.8432 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.07049, allocations: 0 / 0.8432 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.07171, allocations: 1.014 MB / 0.8442 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.07184, allocations: 87.23 kB / 0.8443 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.07191, allocations: 7.984 kB / 0.8443 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.07204, allocations: 0 / 0.8443 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.0721, allocations: 19.86 kB / 0.8443 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.07214, allocations: 11.98 kB / 0.8443 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009674/0.07311, allocations: 0.6728 MB / 0.845 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.07311, allocations: 0 / 0.845 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002242/0.07535, allocations: 0.5845 MB / 0.8455 GB, free: 14.12 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003339/0.07869, allocations: 0.7906 MB / 0.8463 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002857/0.08155, allocations: 1.997 MB / 0.8483 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.08155, allocations: 0 / 0.8483 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004825/0.08203, allocations: 339.7 kB / 0.8486 GB, free: 11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.08247, allocations: 38.48 kB / 0.8486 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.08537, allocations: 1.806 MB / 0.8504 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.08584, allocations: 368.1 kB / 0.8507 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.086, allocations: 40.77 kB / 0.8508 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.08612, allocations: 24.48 kB / 0.8508 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of SimCode: time 7.52e-07/0.08612, allocations: 4 kB / 0.8508 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of Templates: time 0.03158/0.1177, allocations: 14.09 MB / 0.8646 GB, free: 10.71 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.301228958996944]