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_SmallScaleValidation.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001075/0.001075, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.316/1.316, 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.2-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65 kB / 0.8141 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2458, allocations: 140.4 MB / 0.9512 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002791/0.2486, allocations: 1.743 MB / 0.9529 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005423/0.254, allocations: 4.214 MB / 0.957 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.126e-05/0.2542, allocations: 3.938 kB / 0.957 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.2553, allocations: 362.5 kB / 0.9573 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.2554, allocations: 63.67 kB / 0.9574 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.2576, allocations: 0.989 MB / 0.9584 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.2578, allocations: 155.3 kB / 0.9585 GB, free: 496 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.2579, allocations: 9.547 kB / 0.9585 GB, free: 484 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.258, allocations: 63.7 kB / 0.9586 GB, free: 420 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.2582, allocations: 163.5 kB / 0.9587 GB, free: 256 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.2582, allocations: 12 kB / 0.9587 GB, free: 244 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.2601, allocations: 1.381 MB / 0.9601 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.2603, allocations: 279.8 kB / 0.9604 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.2605, allocations: 306.1 kB / 0.9607 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.2622, allocations: 1.539 MB / 0.9622 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2622, allocations: 0 / 0.9622 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2622, allocations: 0 / 0.9622 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.2622, allocations: 0 / 0.9622 GB, free: 12.73 MB / 0.7481 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.008073/0.2703, allocations: 1.286 MB / 0.9634 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2703, allocations: 12.03 kB / 0.9634 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003555/0.2707, allocations: 95.58 kB / 0.9635 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.2712, allocations: 402 kB / 0.9639 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2712, allocations: 8.375 kB / 0.9639 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.2713, allocations: 12.36 kB / 0.9639 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.2717, allocations: 387.5 kB / 0.9643 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.2717, allocations: 0 / 0.9643 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.2717, allocations: 0 / 0.9643 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2717, allocations: 0 / 0.9643 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.2722, allocations: 439.7 kB / 0.9647 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.2727, allocations: 0.6613 MB / 0.9654 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.2732, allocations: 0.5671 MB / 0.9659 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.2735, allocations: 337.7 kB / 0.9662 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009014/0.2744, allocations: 1.028 MB / 0.9672 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.2748, allocations: 412.8 kB / 0.9676 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.2748, allocations: 0 / 0.9676 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.001224/0.276, allocations: 1.293 MB / 0.9689 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.2761, allocations: 85.11 kB / 0.969 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.2773, allocations: 1.281 MB / 0.9702 GB, free: 4.012 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.2773, allocations: 37.58 kB / 0.9703 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.2775, allocations: 281.4 kB / 0.9705 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.2775, allocations: 27.69 kB / 0.9706 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/0.2779, allocations: 347.7 kB / 0.9709 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.278, allocations: 322 kB / 0.9712 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.2791, allocations: 1.361 MB / 0.9725 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.2804, allocations: 1.489 MB / 0.974 GB, free: 136 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007026/0.2874, allocations: 3.541 MB / 0.9774 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2875, allocations: 0 / 0.9774 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004172/0.2916, allocations: 3.973 MB / 0.9813 GB, free: 8.496 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2917, allocations: 5.875 kB / 0.9813 GB, free: 8.492 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.2917, allocations: 4 kB / 0.9813 GB, free: 8.488 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2917, allocations: 0 / 0.9813 GB, free: 8.488 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.2919, allocations: 20.02 kB / 0.9813 GB, free: 8.469 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2919, allocations: 3.938 kB / 0.9813 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.2923, allocations: 236.3 kB / 0.9816 GB, free: 8.23 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/0.2924, allocations: 19.98 kB / 0.9816 GB, free: 8.211 MB / 0.7637 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.0002794/0.2927, allocations: 245.7 kB / 0.9818 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.2927, allocations: 74.62 kB / 0.9819 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.293, allocations: 83.66 kB / 0.982 GB, free: 7.789 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.293, allocations: 0 / 0.982 GB, free: 7.789 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.293, allocations: 4 kB / 0.982 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.293, allocations: 0 / 0.982 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.2935, allocations: 0.51 MB / 0.9825 GB, free: 7.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2935, allocations: 0 / 0.9825 GB, free: 7.23 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.111e-05/0.2936, allocations: 19.86 kB / 0.9825 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2936, allocations: 3.984 kB / 0.9825 GB, free: 7.207 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.2936, allocations: 8 kB / 0.9825 GB, free: 7.199 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2936, allocations: 4.031 kB / 0.9825 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2936, allocations: 0 / 0.9825 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008549/0.2945, allocations: 0.9978 MB / 0.9835 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.2946, allocations: 167.6 kB / 0.9836 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/0.2947, allocations: 4 kB / 0.9836 GB, free: 5.988 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.2948, allocations: 11.98 kB / 0.9837 GB, free: 5.977 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.2949, allocations: 4 kB / 0.9837 GB, free: 5.973 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.2949, allocations: 15.97 kB / 0.9837 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007704/0.2957, allocations: 0.7179 MB / 0.9844 GB, free: 5.234 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2957, allocations: 0 / 0.9844 GB, free: 5.234 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001175/0.2969, allocations: 399.9 kB / 0.9848 GB, free: 4.844 MB / 0.7637 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.001155/0.2981, allocations: 490.8 kB / 0.9852 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002125/0.3002, allocations: 2.495 MB / 0.9877 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3002, allocations: 4.062 kB / 0.9877 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.3005, allocations: 343.7 kB / 0.988 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.3009, allocations: 57.14 kB / 0.9881 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.3032, allocations: 1.857 MB / 0.9899 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.3037, allocations: 0.9916 MB / 0.9908 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.3038, allocations: 37.42 kB / 0.9909 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.3039, allocations: 31.42 kB / 0.9909 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of SimCode: time 6.11e-07/0.3039, allocations: 0 / 0.9909 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.0331/0.337, allocations: 10.17 MB / 1.001 GB, free: 4.367 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches