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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 107.5 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.197/2.197, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 59.91 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7973/0.7988, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002286/0.8012, allocations: 1.412 MB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004271/0.8055, allocations: 3.022 MB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.8055, allocations: 1.188 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.8057, allocations: 11.88 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.806, allocations: 32.84 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.8091, allocations: 0.9874 MB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.8093, allocations: 83.22 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.8094, allocations: 7.734 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.8095, allocations: 50.86 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.8098, allocations: 161.8 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.8098, allocations: 13.38 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.8125, allocations: 1.38 MB / 1.096 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009384/0.8135, allocations: 0.6821 MB / 1.096 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003719/0.8138, allocations: 445.5 kB / 1.097 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003193/0.817, allocations: 1.791 MB / 1.099 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8171, allocations: 4 kB / 1.099 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8171, allocations: 1.094 kB / 1.099 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.8171, allocations: 0 / 1.099 GB, free: 0.5234 MB / 0.8575 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.01153/0.8286, allocations: 1.692 MB / 1.1 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.8287, allocations: 9.125 kB / 1.1 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/0.8292, allocations: 138.4 kB / 1.1 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.8299, allocations: 0.5316 MB / 1.101 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.8299, allocations: 4.562 kB / 1.101 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.83, allocations: 5.297 kB / 1.101 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007106/0.8307, allocations: 392.5 kB / 1.101 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.8307, allocations: 0.5 kB / 1.101 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.8307, allocations: 1.578 kB / 1.101 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.8307, allocations: 5.031 kB / 1.101 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000587/0.8313, allocations: 441.2 kB / 1.102 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.8324, allocations: 0.8078 MB / 1.102 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.8331, allocations: 0.555 MB / 1.103 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003923/0.8335, allocations: 346.8 kB / 1.103 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.8346, allocations: 1.022 MB / 1.104 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000517/0.8351, allocations: 407.7 kB / 1.105 GB, free: 13 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.8351, allocations: 0 / 1.105 GB, free: 13 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001677/0.8368, allocations: 1.341 MB / 1.106 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.8369, allocations: 84.97 kB / 1.106 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.8395, allocations: 1.843 MB / 1.108 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.731e-05/0.8396, allocations: 31.05 kB / 1.108 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004049/0.84, allocations: 476.1 kB / 1.108 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.84, allocations: 26.12 kB / 1.108 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/0.8404, allocations: 348.5 kB / 1.109 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.8405, allocations: 301.1 kB / 1.109 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.842, allocations: 1.521 MB / 1.11 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.8437, allocations: 1.643 MB / 1.112 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007748/0.8515, allocations: 3.688 MB / 1.116 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.8515, allocations: 0 / 1.116 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005522/0.8571, allocations: 4.32 MB / 1.12 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.8571, allocations: 5.25 kB / 1.12 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.8571, allocations: 6.859 kB / 1.12 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.8572, allocations: 5.156 kB / 1.12 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.8573, allocations: 15.05 kB / 1.12 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.8573, allocations: 1.281 kB / 1.12 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.8583, allocations: 227.3 kB / 1.12 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.8584, allocations: 23.97 kB / 1.12 GB, free: 6.305 MB / 0.8731 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 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * 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 0.0007525/0.8592, allocations: 374 kB / 1.121 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.8593, allocations: 128 kB / 1.121 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.8597, allocations: 142.9 kB / 1.121 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.8597, allocations: 5.172 kB / 1.121 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.8598, allocations: 1 kB / 1.121 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.8598, allocations: 1.781 kB / 1.121 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009878/0.8608, allocations: 0.6803 MB / 1.121 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.8608, allocations: 0 / 1.121 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-05/0.8609, allocations: 19.14 kB / 1.121 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.8609, allocations: 1.312 kB / 1.121 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.8609, allocations: 4.531 kB / 1.121 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.8609, allocations: 0 / 1.121 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8609, allocations: 1.25 kB / 1.121 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.8621, allocations: 1.061 MB / 1.123 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.8623, allocations: 201.3 kB / 1.123 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.8624, allocations: 7.75 kB / 1.123 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.8627, allocations: 7.5 kB / 1.123 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.8627, allocations: 9.578 kB / 1.123 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.8628, allocations: 13.97 kB / 1.123 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001728/0.8645, allocations: 1.103 MB / 1.124 GB, free: 4.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8645, allocations: 3.938 kB / 1.124 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001943/0.8665, allocations: 435.4 kB / 1.124 GB, free: 4.859 MB / 0.8731 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.001459/0.8679, allocations: 477.2 kB / 1.125 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002876/0.8708, allocations: 2.657 MB / 1.127 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8708, allocations: 0 / 1.127 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.8712, allocations: 336.5 kB / 1.128 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006542/0.8719, allocations: 52.12 kB / 1.128 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/0.8759, allocations: 2.622 MB / 1.13 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008809/0.8768, allocations: 1.151 MB / 1.131 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.877, allocations: 26.33 kB / 1.131 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of SimCode: time 1.042e-06/0.877, allocations: 3.938 kB / 1.131 GB, free: 2.047 MB / 0.8731 GB Notification: Performance of Templates: time 0.03099/0.908, allocations: 15.05 MB / 1.146 GB, free: 13.94 MB / 0.8887 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,gFun_int Variables in the result:gFun_int,time