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.009349/0.009349, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.002074/0.002074, allocations: 195.4 kB / 16.67 MB, free: 5.93 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.259/2.259, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 63.91 kB / 0.9509 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7563/0.7584, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00207/0.7605, allocations: 1.424 MB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003992/0.7645, allocations: 3.023 MB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.7646, allocations: 0.7812 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.7647, allocations: 11.64 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.7649, allocations: 32.94 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.7677, allocations: 0.9832 MB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.7679, allocations: 87.47 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.7679, allocations: 7.719 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.09e-05/0.768, allocations: 47.81 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.7682, allocations: 152.8 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.7683, allocations: 13.53 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.7706, allocations: 1.389 MB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007968/0.7714, allocations: 0.6865 MB / 1.096 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005171/0.772, allocations: 437 kB / 1.096 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003728/0.7757, allocations: 1.791 MB / 1.098 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7757, allocations: 0 / 1.098 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.955e-06/0.7757, allocations: 3.938 kB / 1.098 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.939e-05/0.7758, allocations: 5.188 kB / 1.098 GB, free: 0.5078 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.009856/0.7856, allocations: 1.683 MB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.7857, allocations: 10 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005035/0.7862, allocations: 141.5 kB / 1.1 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007521/0.787, allocations: 0.5277 MB / 1.1 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.787, allocations: 8.047 kB / 1.1 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.7871, allocations: 13.23 kB / 1.1 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.7877, allocations: 393.1 kB / 1.101 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.7878, allocations: 0.5312 kB / 1.101 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.7878, allocations: 1.594 kB / 1.101 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.7878, allocations: 0.5312 kB / 1.101 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/0.7884, allocations: 437.5 kB / 1.101 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.7899, allocations: 0.8092 MB / 1.102 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.7906, allocations: 0.5588 MB / 1.102 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.7909, allocations: 338.4 kB / 1.103 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/0.7922, allocations: 1.025 MB / 1.104 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005167/0.7927, allocations: 403.8 kB / 1.104 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 2.275e-06/0.7927, allocations: 0 / 1.104 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001833/0.7945, allocations: 1.353 MB / 1.105 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.7946, allocations: 80.94 kB / 1.105 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/0.7978, allocations: 1.842 MB / 1.107 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.7979, allocations: 32.98 kB / 1.107 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.7984, allocations: 473 kB / 1.108 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.7984, allocations: 21.23 kB / 1.108 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004616/0.7989, allocations: 355.8 kB / 1.108 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.799, allocations: 305.1 kB / 1.108 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.8006, allocations: 1.518 MB / 1.11 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.8023, allocations: 1.641 MB / 1.111 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007989/0.8103, allocations: 3.691 MB / 1.115 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.8103, allocations: 0 / 1.115 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005281/0.8156, allocations: 4.325 MB / 1.119 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.8157, allocations: 5.438 kB / 1.119 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.8157, allocations: 1 kB / 1.119 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.8157, allocations: 5.891 kB / 1.119 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.8159, allocations: 23.44 kB / 1.119 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.8159, allocations: 1.812 kB / 1.119 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008395/0.8167, allocations: 222.4 kB / 1.119 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.8168, allocations: 23 kB / 1.119 GB, free: 6.281 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.0006941/0.8175, allocations: 366.4 kB / 1.12 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.8176, allocations: 125.2 kB / 1.12 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.818, allocations: 146.4 kB / 1.12 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.818, allocations: 1.828 kB / 1.12 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8181, allocations: 1.156 kB / 1.12 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.8181, allocations: 4.547 kB / 1.12 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008327/0.8189, allocations: 0.6839 MB / 1.121 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8189, allocations: 0.5625 kB / 1.121 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/0.819, allocations: 16.19 kB / 1.121 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.819, allocations: 0 / 1.121 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.819, allocations: 8.531 kB / 1.121 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.8191, allocations: 2.094 kB / 1.121 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8191, allocations: 0 / 1.121 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.8202, allocations: 1.052 MB / 1.122 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.8204, allocations: 197.5 kB / 1.122 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/0.8205, allocations: 7.188 kB / 1.122 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.8207, allocations: 8.062 kB / 1.122 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.8208, allocations: 10.23 kB / 1.122 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.8208, allocations: 12.34 kB / 1.122 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001528/0.8224, allocations: 1.103 MB / 1.123 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8224, allocations: 0 / 1.123 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001637/0.824, allocations: 435 kB / 1.124 GB, free: 4.855 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.001198/0.8252, allocations: 481.6 kB / 1.124 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002692/0.8279, allocations: 2.656 MB / 1.127 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8279, allocations: 0 / 1.127 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.8283, allocations: 330.7 kB / 1.127 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.8288, allocations: 54.59 kB / 1.127 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.8321, allocations: 2.562 MB / 1.129 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007818/0.8329, allocations: 1.156 MB / 1.131 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000161/0.8331, allocations: 32.33 kB / 1.131 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.8332, allocations: 25.03 kB / 1.131 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of SimCode: time 2.284e-06/0.8332, allocations: 0 / 1.131 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of Templates: time 0.02129/0.8545, allocations: 10.14 MB / 1.141 GB, free: 0.5508 MB / 0.8731 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/jenkins/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) Reference file matches