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.00166/0.00166, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002231/0.002231, allocations: 199.9 kB / 16.79 MB, free: 6.809 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.401/1.401, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.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.446/2.446, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 63.91 kB / 0.8126 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7013/0.7029, allocations: 140.4 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002513/0.7055, allocations: 1.466 MB / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004636/0.7102, allocations: 3.218 MB / 0.9542 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.7103, allocations: 0 / 0.9542 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.7104, allocations: 9.328 kB / 0.9542 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.7107, allocations: 36.12 kB / 0.9543 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.7129, allocations: 0.771 MB / 0.955 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.713, allocations: 106.7 kB / 0.9551 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.7131, allocations: 2.781 kB / 0.9551 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.7131, allocations: 42.38 kB / 0.9551 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.7134, allocations: 226.7 kB / 0.9554 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.509e-05/0.7135, allocations: 16.34 kB / 0.9554 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.7158, allocations: 1.404 MB / 0.9568 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007748/0.7166, allocations: 0.6753 MB / 0.9574 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004261/0.717, allocations: 443.5 kB / 0.9578 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.7188, allocations: 1.201 MB / 0.959 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.7188, allocations: 5.234 kB / 0.959 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.7188, allocations: 0 / 0.959 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.7189, allocations: 0 / 0.959 GB, free: 2.883 MB / 0.7169 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.008357/0.7272, allocations: 1.688 MB / 0.9607 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.7273, allocations: 9.281 kB / 0.9607 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004477/0.7277, allocations: 145 kB / 0.9608 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.7283, allocations: 0.5268 MB / 0.9613 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.7283, allocations: 2.812 kB / 0.9613 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.7283, allocations: 5.406 kB / 0.9613 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.7288, allocations: 399.1 kB / 0.9617 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7288, allocations: 0 / 0.9617 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.7289, allocations: 5.062 kB / 0.9617 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.7289, allocations: 5.094 kB / 0.9617 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.7293, allocations: 429.9 kB / 0.9621 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008203/0.7302, allocations: 0.8071 MB / 0.9629 GB, free: 216 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005678/0.7308, allocations: 0.5652 MB / 0.9635 GB, free: 72 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.7311, allocations: 346.1 kB / 0.9638 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.7323, allocations: 1.027 MB / 0.9648 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.7328, allocations: 406.3 kB / 0.9652 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.7328, allocations: 1.312 kB / 0.9652 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001697/0.7345, allocations: 1.349 MB / 0.9665 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.7346, allocations: 80.27 kB / 0.9666 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.737, allocations: 1.845 MB / 0.9684 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.578e-05/0.7371, allocations: 36.22 kB / 0.9684 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/0.7375, allocations: 471.5 kB / 0.9689 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.7375, allocations: 16.47 kB / 0.9689 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003877/0.7379, allocations: 347.1 kB / 0.9692 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.738, allocations: 305.8 kB / 0.9695 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.7395, allocations: 1.516 MB / 0.971 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.7411, allocations: 1.642 MB / 0.9726 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007269/0.7484, allocations: 3.694 MB / 0.9762 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.7484, allocations: 0 / 0.9762 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004785/0.7532, allocations: 4.319 MB / 0.9804 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.7532, allocations: 4 kB / 0.9804 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.7533, allocations: 4 kB / 0.9804 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.7533, allocations: 3.984 kB / 0.9804 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.7535, allocations: 15.94 kB / 0.9804 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.7535, allocations: 4.031 kB / 0.9804 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008431/0.7543, allocations: 244.2 kB / 0.9807 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/0.7544, allocations: 23.98 kB / 0.9807 GB, free: 1.594 MB / 0.7325 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.0005799/0.755, allocations: 361.6 kB / 0.981 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.7551, allocations: 122 kB / 0.9812 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003977/0.7555, allocations: 153 kB / 0.9813 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.7555, allocations: 0 / 0.9813 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7555, allocations: 0 / 0.9813 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7555, allocations: 0 / 0.9813 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000696/0.7562, allocations: 0.6717 MB / 0.982 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7562, allocations: 0 / 0.982 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.7563, allocations: 15.92 kB / 0.982 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.7563, allocations: 0 / 0.982 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.7564, allocations: 4 kB / 0.982 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.7564, allocations: 7.984 kB / 0.982 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7564, allocations: 4.031 kB / 0.982 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009733/0.7573, allocations: 1.055 MB / 0.983 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.7575, allocations: 195.1 kB / 0.9832 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.6e-05/0.7576, allocations: 7.984 kB / 0.9832 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.7579, allocations: 11.94 kB / 0.9832 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.7579, allocations: 11.98 kB / 0.9832 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.7579, allocations: 11.98 kB / 0.9833 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001243/0.7592, allocations: 1.101 MB / 0.9843 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7592, allocations: 0 / 0.9843 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00142/0.7606, allocations: 443.8 kB / 0.9848 GB, free: 13.29 MB / 0.7481 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.001399/0.762, allocations: 478.8 kB / 0.9852 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002477/0.7645, allocations: 2.644 MB / 0.9878 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.7645, allocations: 0 / 0.9878 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.7649, allocations: 351.7 kB / 0.9881 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.7656, allocations: 55.59 kB / 0.9882 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.7692, allocations: 2.9 MB / 0.991 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007191/0.7699, allocations: 1.157 MB / 0.9921 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.7701, allocations: 31.42 kB / 0.9922 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/0.7701, allocations: 0 / 0.9922 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of Templates: time 0.02527/0.7954, allocations: 15.03 MB / 1.007 GB, free: 6.566 MB / 0.7637 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