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.001144/0.001144, allocations: 109 kB / 16.41 MB, free: 6.488 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.001212/0.001212, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.395/1.395, allocations: 222.9 MB / 241 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.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.91 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8097/0.8112, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002296/0.8136, allocations: 1.407 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004323/0.8179, allocations: 3.023 MB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.818, allocations: 4.781 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.8182, allocations: 15.47 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.8184, allocations: 33 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/0.8216, allocations: 0.9806 MB / 1.094 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.8218, allocations: 87.59 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.8218, allocations: 8.281 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.8219, allocations: 49.77 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.8222, allocations: 154.2 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.8222, allocations: 13 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.825, allocations: 1.389 MB / 1.096 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009511/0.826, allocations: 0.6851 MB / 1.096 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000932/0.8269, allocations: 437.5 kB / 1.097 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004145/0.8311, allocations: 1.792 MB / 1.099 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.8311, allocations: 1.094 kB / 1.099 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8311, allocations: 3.938 kB / 1.099 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.14e-05/0.8312, allocations: 0 / 1.099 GB, free: 0.5156 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.01014/0.8413, allocations: 1.696 MB / 1.1 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.8414, allocations: 9.938 kB / 1.1 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005982/0.842, allocations: 137.1 kB / 1.1 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.843, allocations: 0.5242 MB / 1.101 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.8431, allocations: 3.594 kB / 1.101 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.8431, allocations: 7.438 kB / 1.101 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.8438, allocations: 399.4 kB / 1.101 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.8439, allocations: 0 / 1.101 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.8439, allocations: 1.672 kB / 1.101 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.8439, allocations: 1.75 kB / 1.101 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005598/0.8445, allocations: 432.8 kB / 1.102 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.846, allocations: 0.8118 MB / 1.102 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.8466, allocations: 0.5636 MB / 1.103 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.847, allocations: 334.1 kB / 1.103 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.8482, allocations: 1.03 MB / 1.104 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005244/0.8487, allocations: 411.3 kB / 1.105 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.8487, allocations: 0 / 1.105 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001755/0.8505, allocations: 1.345 MB / 1.106 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.8506, allocations: 79.83 kB / 1.106 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00361/0.8542, allocations: 1.843 MB / 1.108 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.239e-05/0.8543, allocations: 33.38 kB / 1.108 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/0.8548, allocations: 471.4 kB / 1.108 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.8549, allocations: 26.36 kB / 1.108 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00051/0.8554, allocations: 350.9 kB / 1.109 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8555, allocations: 307.2 kB / 1.109 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.8572, allocations: 1.516 MB / 1.11 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.8589, allocations: 1.641 MB / 1.112 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008245/0.8671, allocations: 3.698 MB / 1.116 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.8672, allocations: 1.438 kB / 1.116 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006177/0.8733, allocations: 4.316 MB / 1.12 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.8734, allocations: 6.234 kB / 1.12 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.8734, allocations: 0 / 1.12 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.8735, allocations: 2.406 kB / 1.12 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.8736, allocations: 22.45 kB / 1.12 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.8737, allocations: 1.188 kB / 1.12 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.8747, allocations: 228.2 kB / 1.12 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.8748, allocations: 23.12 kB / 1.12 GB, free: 6.289 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.0008743/0.8756, allocations: 366 kB / 1.121 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/0.8759, allocations: 128.5 kB / 1.121 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005707/0.8765, allocations: 149.7 kB / 1.121 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8765, allocations: 2.219 kB / 1.121 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.8765, allocations: 0.7969 kB / 1.121 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.8765, allocations: 1.094 kB / 1.121 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.878, allocations: 0.6849 MB / 1.121 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.878, allocations: 0 / 1.121 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.459e-05/0.8781, allocations: 11.8 kB / 1.121 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.8781, allocations: 1.156 kB / 1.121 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.8781, allocations: 3.844 kB / 1.121 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.8781, allocations: 5 kB / 1.121 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8781, allocations: 0.7969 kB / 1.121 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.8795, allocations: 1.052 MB / 1.123 GB, free: 5.453 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.88, allocations: 201.1 kB / 1.123 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.8802, allocations: 2.875 kB / 1.123 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.8805, allocations: 16.56 kB / 1.123 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.8806, allocations: 5.828 kB / 1.123 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/0.8806, allocations: 13.58 kB / 1.123 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002021/0.8827, allocations: 1.103 MB / 1.124 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8827, allocations: 0 / 1.124 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002084/0.8848, allocations: 434.7 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.002127/0.8869, allocations: 483.6 kB / 1.125 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003375/0.8903, allocations: 2.646 MB / 1.127 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.8903, allocations: 4.062 kB / 1.127 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.8907, allocations: 345.3 kB / 1.128 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.000788/0.8915, allocations: 50.58 kB / 1.128 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.8958, allocations: 2.612 MB / 1.13 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.8969, allocations: 1.155 MB / 1.131 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.8971, allocations: 28.84 kB / 1.131 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of SimCode: time 3.747e-06/0.8972, allocations: 0.7188 kB / 1.131 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of Templates: time 0.03285/0.93, allocations: 15.05 MB / 1.146 GB, free: 13.91 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