Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.084/2.084, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 185.2 kB / 487 MB, free: 5.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 88.69 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.767e-06/8.807e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2895, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8299/1.119, allocations: 163.5 MB / 1.365 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.12, allocations: 115.6 kB / 1.365 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.08677/1.207, allocations: 25.28 MB / 1.39 GB, free: 5.617 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001418/1.207, allocations: 20 kB / 1.39 GB, free: 5.598 MB / 0.823 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.004861/1.212, allocations: 1.331 MB / 1.391 GB, free: 4.289 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/1.212, allocations: 8.031 kB / 1.391 GB, free: 4.281 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009287/1.213, allocations: 157.5 kB / 1.391 GB, free: 4.129 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/1.214, allocations: 0.6221 MB / 1.392 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/1.214, allocations: 3.562 kB / 1.392 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/1.215, allocations: 23.98 kB / 1.392 GB, free: 3.414 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005768/1.215, allocations: 423 kB / 1.392 GB, free: 3.004 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/1.216, allocations: 378.8 kB / 1.393 GB, free: 2.629 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.216, allocations: 7.984 kB / 1.393 GB, free: 2.621 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.216, allocations: 0 / 1.393 GB, free: 2.621 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/1.216, allocations: 7.906 kB / 1.393 GB, free: 2.613 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/1.218, allocations: 0.9096 MB / 1.393 GB, free: 1.824 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/1.218, allocations: 0.561 MB / 1.394 GB, free: 1.254 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/1.219, allocations: 325.5 kB / 1.394 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/1.22, allocations: 1.048 MB / 1.395 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/1.22, allocations: 402.6 kB / 1.396 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.936e-06/1.22, allocations: 4 kB / 1.396 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.00112/1.222, allocations: 0.7974 MB / 1.397 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/1.222, allocations: 85.09 kB / 1.397 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/1.224, allocations: 1.531 MB / 1.398 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/1.224, allocations: 25.7 kB / 1.398 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/1.225, allocations: 330.8 kB / 1.398 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/1.225, allocations: 26.89 kB / 1.398 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/1.225, allocations: 0 / 1.398 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002961/1.225, allocations: 411.8 kB / 1.399 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/1.227, allocations: 1.475 MB / 1.4 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/1.228, allocations: 1.608 MB / 1.402 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/1.23, allocations: 1.866 MB / 1.404 GB, free: 8.754 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.23, allocations: 0 / 1.404 GB, free: 8.754 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008262/1.239, allocations: 7.709 MB / 1.411 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.239, allocations: 8 kB / 1.411 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-05/1.239, allocations: 20 kB / 1.411 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/1.239, allocations: 8.031 kB / 1.411 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/1.24, allocations: 146.9 kB / 1.411 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/1.24, allocations: 4 kB / 1.411 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009478/1.241, allocations: 227.5 kB / 1.412 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/1.241, allocations: 90.17 kB / 1.412 GB, free: 1.387 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001806/1.241, allocations: 117.9 kB / 1.412 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/1.241, allocations: 125.2 kB / 1.412 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/1.242, allocations: 0.7884 MB / 1.413 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/1.242, allocations: 0 / 1.413 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.242, allocations: 4 kB / 1.413 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.242, allocations: 0 / 1.413 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/1.244, allocations: 0.6536 MB / 1.413 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.244, allocations: 0 / 1.413 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.27e-05/1.244, allocations: 11.98 kB / 1.413 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/1.244, allocations: 0 / 1.413 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/1.244, allocations: 0 / 1.413 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/1.244, allocations: 8.031 kB / 1.413 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.244, allocations: 3.984 kB / 1.413 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008514/1.245, allocations: 0.8446 MB / 1.414 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/1.245, allocations: 199.1 kB / 1.414 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/1.245, allocations: 7.938 kB / 1.414 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/1.246, allocations: 7.938 kB / 1.414 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/1.246, allocations: 7.984 kB / 1.414 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/1.246, allocations: 11.98 kB / 1.414 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.00146/1.247, allocations: 1.016 MB / 1.415 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002078/1.249, allocations: 0.4992 MB / 1.416 GB, free: 13.33 MB / 0.8542 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002703/1.252, allocations: 0.5997 MB / 1.416 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002453/1.254, allocations: 2.505 MB / 1.419 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.254, allocations: 3.938 kB / 1.419 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003026/1.255, allocations: 331.7 kB / 1.419 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/1.255, allocations: 49.75 kB / 1.419 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/1.259, allocations: 2.121 MB / 1.421 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.26, allocations: 1.233 MB / 1.423 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of SimCode: time 7.52e-07/1.26, allocations: 3.938 kB / 1.423 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of Templates: time 0.02214/1.282, allocations: 10.08 MB / 1.432 GB, free: 13.24 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches