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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001598/0.001598, allocations: 183.3 kB / 498.1 MB, free: 5.75 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.589/1.589, allocations: 223.2 MB / 0.7948 GB, free: 18.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 98.3 kB / 0.9346 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 10.09 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3291, allocations: 142.4 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2111/0.5402, allocations: 164.3 MB / 1.383 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/0.5406, allocations: 119.9 kB / 1.383 GB, free: 4.965 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7204/1.261, allocations: 25.33 MB / 1.408 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.809e-06/1.261, allocations: 2.109 kB / 1.408 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.263e-05/1.261, allocations: 22.88 kB / 1.408 GB, free: 167.6 MB / 0.9011 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.004115/1.265, allocations: 1.632 MB / 1.41 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.265, allocations: 8.719 kB / 1.41 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005579/1.266, allocations: 163.5 kB / 1.41 GB, free: 166.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/1.267, allocations: 0.645 MB / 1.411 GB, free: 166.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/1.267, allocations: 25.83 kB / 1.411 GB, free: 166.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/1.267, allocations: 44.3 kB / 1.411 GB, free: 166.2 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/1.268, allocations: 391.5 kB / 1.411 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.268, allocations: 0 / 1.411 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/1.268, allocations: 2.734 kB / 1.411 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.268, allocations: 0.9062 kB / 1.411 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006151/1.269, allocations: 439.8 kB / 1.411 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/1.27, allocations: 0.9819 MB / 1.412 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/1.271, allocations: 0.5626 MB / 1.413 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008744/1.272, allocations: 1.041 MB / 1.414 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005571/1.272, allocations: 403.1 kB / 1.414 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=8): time 3.075e-06/1.272, allocations: 4.969 kB / 1.414 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.002299/1.275, allocations: 1.355 MB / 1.416 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/1.275, allocations: 81.88 kB / 1.416 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/1.277, allocations: 1.63 MB / 1.417 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001942/1.277, allocations: 44.81 kB / 1.417 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004679/1.278, allocations: 497.6 kB / 1.418 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/1.278, allocations: 20.11 kB / 1.418 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/1.278, allocations: 18 kB / 1.418 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.278, allocations: 413.2 kB / 1.418 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/1.28, allocations: 1.475 MB / 1.42 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/1.282, allocations: 1.62 MB / 1.421 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/1.284, allocations: 1.87 MB / 1.423 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.284, allocations: 0 / 1.423 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005625/1.29, allocations: 4.042 MB / 1.427 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/1.29, allocations: 6.875 kB / 1.427 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.457e-05/1.29, allocations: 19.72 kB / 1.427 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/1.29, allocations: 5 kB / 1.427 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/1.291, allocations: 145.7 kB / 1.427 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/1.291, allocations: 5.125 kB / 1.427 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/1.292, allocations: 247.1 kB / 1.428 GB, free: 162.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/1.292, allocations: 91.31 kB / 1.428 GB, free: 162.3 MB / 0.9011 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 () * Number of clocked 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.0006999/1.293, allocations: 388.1 kB / 1.428 GB, free: 162.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/1.293, allocations: 120.6 kB / 1.428 GB, free: 162.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/1.294, allocations: 1.017 MB / 1.429 GB, free: 162 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.294, allocations: 1.281 kB / 1.429 GB, free: 162 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.294, allocations: 0.6562 kB / 1.429 GB, free: 162 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.294, allocations: 1.281 kB / 1.429 GB, free: 162 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009412/1.295, allocations: 0.687 MB / 1.43 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.295, allocations: 2.125 kB / 1.43 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.67e-05/1.295, allocations: 10.58 kB / 1.43 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/1.295, allocations: 1.719 kB / 1.43 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/1.295, allocations: 7.75 kB / 1.43 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/1.295, allocations: 1.641 kB / 1.43 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/1.295, allocations: 2.016 kB / 1.43 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/1.297, allocations: 1.072 MB / 1.431 GB, free: 161.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/1.297, allocations: 210.7 kB / 1.431 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/1.297, allocations: 4.844 kB / 1.431 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/1.297, allocations: 9.547 kB / 1.431 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/1.297, allocations: 9.281 kB / 1.431 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/1.297, allocations: 16.12 kB / 1.431 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001548/1.299, allocations: 1.111 MB / 1.432 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.5e-07/1.299, allocations: 0 / 1.432 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002061/1.301, allocations: 0.5181 MB / 1.433 GB, free: 161.2 MB / 0.9011 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 (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.001553/1.303, allocations: 0.5739 MB / 1.433 GB, free: 161 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002952/1.306, allocations: 2.511 MB / 1.436 GB, free: 160.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.306, allocations: 0 / 1.436 GB, free: 160.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006161/1.306, allocations: 344.4 kB / 1.436 GB, free: 160.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/1.307, allocations: 62.03 kB / 1.436 GB, free: 160.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/1.309, allocations: 2.717 MB / 1.439 GB, free: 160 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/1.31, allocations: 1.183 MB / 1.44 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003681/1.31, allocations: 124.7 kB / 1.44 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/1.31, allocations: 68.41 kB / 1.44 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of SimCode: time 1.002e-06/1.31, allocations: 0 / 1.44 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.01801/1.328, allocations: 11.49 MB / 1.451 GB, free: 157.7 MB / 0.9011 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