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.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_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.001493/0.001493, allocations: 105.6 kB / 16.35 MB, free: 6.34 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.00165/0.00165, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.18 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.162/2.162, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001799, allocations: 68.81 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2616, allocations: 140.4 MB / 0.9512 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002739/0.2644, allocations: 1.418 MB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004665/0.2691, allocations: 3.022 MB / 0.9555 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.2692, allocations: 7.938 kB / 0.9555 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.2693, allocations: 7.922 kB / 0.9555 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.2696, allocations: 27.84 kB / 0.9555 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.2722, allocations: 0.9974 MB / 0.9565 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.2723, allocations: 75.8 kB / 0.9566 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.2724, allocations: 7.938 kB / 0.9566 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.2724, allocations: 51.78 kB / 0.9566 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.2727, allocations: 161.5 kB / 0.9568 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.2727, allocations: 12 kB / 0.9568 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.2747, allocations: 1.384 MB / 0.9582 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006409/0.2753, allocations: 0.6836 MB / 0.9588 GB, free: 128 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003732/0.2757, allocations: 441.1 kB / 0.9592 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.2777, allocations: 1.791 MB / 0.961 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2777, allocations: 0 / 0.961 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2778, allocations: 0 / 0.961 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.2778, allocations: 0 / 0.961 GB, free: 13.89 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.008485/0.2863, allocations: 1.695 MB / 0.9626 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.2863, allocations: 12.03 kB / 0.9627 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004308/0.2868, allocations: 142.9 kB / 0.9628 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005979/0.2874, allocations: 0.5173 MB / 0.9633 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.2874, allocations: 12.34 kB / 0.9633 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.2874, allocations: 8.375 kB / 0.9633 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.2879, allocations: 395.4 kB / 0.9637 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2879, allocations: 0 / 0.9637 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.2879, allocations: 3.984 kB / 0.9637 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2879, allocations: 4 kB / 0.9637 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.2884, allocations: 427.8 kB / 0.9641 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.2891, allocations: 0.8035 MB / 0.9649 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.2896, allocations: 0.5672 MB / 0.9655 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.2899, allocations: 329.7 kB / 0.9658 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.291, allocations: 1.04 MB / 0.9668 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003901/0.2914, allocations: 420.6 kB / 0.9672 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.2914, allocations: 0 / 0.9672 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.001335/0.2928, allocations: 1.343 MB / 0.9685 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.2928, allocations: 89.09 kB / 0.9686 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.2946, allocations: 1.842 MB / 0.9704 GB, free: 3.738 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.2947, allocations: 33.7 kB / 0.9704 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/0.295, allocations: 469.3 kB / 0.9709 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.2951, allocations: 23.73 kB / 0.9709 GB, free: 3.211 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.2954, allocations: 351.5 kB / 0.9712 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2955, allocations: 305.1 kB / 0.9715 GB, free: 2.562 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.2968, allocations: 1.514 MB / 0.973 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.2982, allocations: 1.642 MB / 0.9746 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006974/0.3051, allocations: 3.694 MB / 0.9782 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3052, allocations: 4 kB / 0.9782 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004306/0.3095, allocations: 4.32 MB / 0.9824 GB, free: 7.254 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3095, allocations: 4 kB / 0.9824 GB, free: 7.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.3095, allocations: 0 / 0.9824 GB, free: 7.25 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3096, allocations: 4 kB / 0.9824 GB, free: 7.246 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3097, allocations: 27.86 kB / 0.9825 GB, free: 7.219 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3097, allocations: 0 / 0.9825 GB, free: 7.219 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005725/0.3103, allocations: 232.3 kB / 0.9827 GB, free: 6.988 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.3104, allocations: 19.98 kB / 0.9827 GB, free: 6.969 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.0004509/0.3108, allocations: 365.5 kB / 0.983 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.67e-05/0.3109, allocations: 130 kB / 0.9832 GB, free: 6.473 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.3113, allocations: 141 kB / 0.9833 GB, free: 6.324 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3113, allocations: 7.984 kB / 0.9833 GB, free: 6.316 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3113, allocations: 4.031 kB / 0.9833 GB, free: 6.312 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3113, allocations: 0 / 0.9833 GB, free: 6.312 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005861/0.3119, allocations: 0.6795 MB / 0.984 GB, free: 5.574 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3119, allocations: 0 / 0.984 GB, free: 5.574 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.312, allocations: 11.92 kB / 0.984 GB, free: 5.562 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.312, allocations: 4 kB / 0.984 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.312, allocations: 0 / 0.984 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.312, allocations: 0 / 0.984 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.312, allocations: 4 kB / 0.984 GB, free: 5.555 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009593/0.313, allocations: 1.059 MB / 0.985 GB, free: 4.469 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.3132, allocations: 199.1 kB / 0.9852 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.688e-05/0.3133, allocations: 4 kB / 0.9852 GB, free: 4.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.3135, allocations: 7.984 kB / 0.9852 GB, free: 4.242 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.3135, allocations: 4 kB / 0.9852 GB, free: 4.238 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.3135, allocations: 19.97 kB / 0.9853 GB, free: 4.219 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001157/0.3147, allocations: 1.104 MB / 0.9863 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3147, allocations: 0 / 0.9863 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001065/0.3158, allocations: 427.8 kB / 0.9867 GB, free: 2.672 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.001112/0.3169, allocations: 478.9 kB / 0.9872 GB, free: 2.195 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002358/0.3193, allocations: 2.648 MB / 0.9898 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3193, allocations: 3.938 kB / 0.9898 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.3196, allocations: 335.8 kB / 0.9901 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.32, allocations: 64.56 kB / 0.9902 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.3229, allocations: 2.566 MB / 0.9927 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.3236, allocations: 1.153 MB / 0.9938 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.3237, allocations: 40.47 kB / 0.9938 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.3238, allocations: 31.42 kB / 0.9939 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of SimCode: time 4.9e-07/0.3238, allocations: 0 / 0.9939 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of Templates: time 0.03382/0.3576, allocations: 10.11 MB / 1.004 GB, free: 1.219 MB / 0.7794 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 -s cvode -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) Reference file matches