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.001338/0.001338, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001474/0.001474, allocations: 169 kB / 24.28 MB, free: 276 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.9124/0.9124, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.851/1.851, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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.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.393e-06/1.393e-06, allocations: 0 / 0.8116 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.835e-05, allocations: 3.406 kB / 0.8116 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001766/0.001784, allocations: 1.488 MB / 0.8131 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004436/0.00622, allocations: 4.033 MB / 0.817 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.006263, allocations: 0 / 0.817 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.97e-05/0.006363, allocations: 15.8 kB / 0.817 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.006555, allocations: 31.72 kB / 0.8171 GB, free: 12.41 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.002101/0.008655, allocations: 1.616 MB / 0.8186 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.008767, allocations: 99.61 kB / 0.8187 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.008804, allocations: 4 kB / 0.8187 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.008878, allocations: 60.39 kB / 0.8188 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.009042, allocations: 136.6 kB / 0.8189 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.009068, allocations: 16 kB / 0.8189 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.01119, allocations: 2.413 MB / 0.8213 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.01135, allocations: 283.9 kB / 0.8216 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.01147, allocations: 148 kB / 0.8217 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.01353, allocations: 2.471 MB / 0.8241 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01353, allocations: 6.125 kB / 0.8241 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.91e-07/0.01353, allocations: 0 / 0.8241 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.01354, allocations: 0 / 0.8241 GB, free: 5.168 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.004396/0.01793, allocations: 1.392 MB / 0.8255 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.01797, allocations: 8.031 kB / 0.8255 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.01821, allocations: 97.23 kB / 0.8256 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.01847, allocations: 310.3 kB / 0.8259 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.01848, allocations: 4.375 kB / 0.8259 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.01851, allocations: 13.45 kB / 0.8259 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.0188, allocations: 370.1 kB / 0.8262 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.01881, allocations: 1.312 kB / 0.8262 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.01882, allocations: 384 / 0.8263 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.01883, allocations: 11.92 kB / 0.8263 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.01905, allocations: 384.6 kB / 0.8266 GB, free: 2.512 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.01946, allocations: 0.6329 MB / 0.8272 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.01978, allocations: 0.5174 MB / 0.8278 GB, free: 1.301 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.01996, allocations: 307.4 kB / 0.828 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/0.02031, allocations: 141.2 kB / 0.8282 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.02055, allocations: 378.4 kB / 0.8285 GB, free: 480 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.02055, allocations: 0 / 0.8285 GB, free: 480 kB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0008248/0.02138, allocations: 1.172 MB / 0.8297 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.02142, allocations: 85.05 kB / 0.8298 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008454/0.02226, allocations: 1.19 MB / 0.8309 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.02229, allocations: 33.7 kB / 0.831 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.02244, allocations: 348.5 kB / 0.8313 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.02247, allocations: 19.84 kB / 0.8313 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.02272, allocations: 414.5 kB / 0.8317 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.02281, allocations: 492.5 kB / 0.8322 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.02325, allocations: 0.682 MB / 0.8328 GB, free: 12 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.02376, allocations: 0.8399 MB / 0.8337 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00273/0.02649, allocations: 2.621 MB / 0.8362 GB, free: 8.43 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.02649, allocations: 0 / 0.8362 GB, free: 8.43 MB / 0.7917 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002926/0.02942, allocations: 4.234 MB / 0.8404 GB, free: 4.16 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.02943, allocations: 8 kB / 0.8404 GB, free: 4.152 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.02944, allocations: 4 kB / 0.8404 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.02946, allocations: 8.031 kB / 0.8404 GB, free: 4.141 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.02956, allocations: 23.92 kB / 0.8404 GB, free: 4.117 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.02956, allocations: 3.938 kB / 0.8404 GB, free: 4.113 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.02981, allocations: 241.4 kB / 0.8406 GB, free: 3.875 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.02984, allocations: 27.97 kB / 0.8407 GB, free: 3.848 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.0001167/0.02996, allocations: 160.6 kB / 0.8408 GB, free: 3.68 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.03, allocations: 71.34 kB / 0.8409 GB, free: 3.609 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/0.03058, allocations: 0.8501 MB / 0.8417 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.03058, allocations: 4 kB / 0.8417 GB, free: 2.746 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.03059, allocations: 3.938 kB / 0.8417 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.03059, allocations: 3.984 kB / 0.8417 GB, free: 2.738 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.03088, allocations: 0.4883 MB / 0.8422 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.03089, allocations: 4 kB / 0.8422 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-05/0.03092, allocations: 7.984 kB / 0.8422 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.03092, allocations: 0 / 0.8422 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.03093, allocations: 4 kB / 0.8422 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.03093, allocations: 0 / 0.8422 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.03094, allocations: 0 / 0.8422 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.03148, allocations: 0.9343 MB / 0.8431 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.03153, allocations: 83.34 kB / 0.8432 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.03157, allocations: 7.922 kB / 0.8432 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.428e-05/0.03163, allocations: 4 kB / 0.8432 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.03166, allocations: 11.92 kB / 0.8432 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.03168, allocations: 11.98 kB / 0.8432 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003578/0.03204, allocations: 0.5557 MB / 0.8438 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.1e-08/0.03204, allocations: 0 / 0.8438 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008913/0.03293, allocations: 0.5885 MB / 0.8444 GB, free: 15.97 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.001396/0.03433, allocations: 0.8088 MB / 0.8451 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009454/0.03528, allocations: 1.406 MB / 0.8465 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.03528, allocations: 4 kB / 0.8465 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.03547, allocations: 311.4 kB / 0.8468 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.03569, allocations: 40.59 kB / 0.8469 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.03688, allocations: 1.576 MB / 0.8484 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.03698, allocations: 194.9 kB / 0.8486 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.553e-05/0.03705, allocations: 32.41 kB / 0.8486 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.03712, allocations: 28.47 kB / 0.8486 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.03712, allocations: 0 / 0.8486 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.01597/0.05309, allocations: 14.38 MB / 0.8627 GB, free: 13.26 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] 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","",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.4516167470719665]