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.0008174/0.0008174, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006249/0.006249, allocations: 171.4 kB / 16.26 MB, free: 6.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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.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.337/2.337, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003464, allocations: 12.19 kB / 0.816 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6553/0.6557, allocations: 142.4 MB / 0.9551 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001224/0.657, allocations: 1.132 MB / 0.9562 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004172/0.6611, allocations: 3.153 MB / 0.9593 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.6612, allocations: 1.375 kB / 0.9593 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.6614, allocations: 17.3 kB / 0.9593 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.6616, allocations: 26.72 kB / 0.9593 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.6637, allocations: 0.7603 MB / 0.9601 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.6638, allocations: 111 kB / 0.9602 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.6639, allocations: 2.344 kB / 0.9602 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.6639, allocations: 46.72 kB / 0.9602 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.6642, allocations: 229.9 kB / 0.9604 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.6643, allocations: 13.25 kB / 0.9604 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.6663, allocations: 1.391 MB / 0.9618 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006693/0.667, allocations: 0.6875 MB / 0.9625 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003208/0.6673, allocations: 465.5 kB / 0.9629 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.6696, allocations: 1.778 MB / 0.9646 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6696, allocations: 1.062 kB / 0.9646 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.416e-06/0.6696, allocations: 0 / 0.9646 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.6697, allocations: 7.938 kB / 0.9647 GB, free: 1.426 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.01162/0.6813, allocations: 1.586 MB / 0.9662 GB, free: 172 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.6813, allocations: 10.09 kB / 0.9662 GB, free: 172 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004023/0.6817, allocations: 139.7 kB / 0.9663 GB, free: 80 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005964/0.6824, allocations: 0.52 MB / 0.9669 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.6824, allocations: 14.64 kB / 0.9669 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.6824, allocations: 5.281 kB / 0.9669 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.6829, allocations: 391 kB / 0.9672 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.683, allocations: 0 / 0.9672 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.683, allocations: 0.9688 kB / 0.9672 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.683, allocations: 1.156 kB / 0.9672 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.6835, allocations: 442 kB / 0.9677 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009915/0.6845, allocations: 0.8074 MB / 0.9685 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.6851, allocations: 0.5612 MB / 0.969 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.6854, allocations: 337.3 kB / 0.9693 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.6865, allocations: 1.04 MB / 0.9703 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004173/0.6869, allocations: 411.7 kB / 0.9707 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.6869, allocations: 0 / 0.9707 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001547/0.6885, allocations: 1.342 MB / 0.972 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.6886, allocations: 91.47 kB / 0.9721 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.6907, allocations: 1.843 MB / 0.9739 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/0.6908, allocations: 33.83 kB / 0.974 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/0.6912, allocations: 477.3 kB / 0.9744 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.6912, allocations: 23.7 kB / 0.9744 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.6915, allocations: 287.6 kB / 0.9747 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.6916, allocations: 305.1 kB / 0.975 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.693, allocations: 1.506 MB / 0.9765 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.6944, allocations: 1.648 MB / 0.9781 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007333/0.7018, allocations: 3.686 MB / 0.9817 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7018, allocations: 0 / 0.9817 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00451/0.7063, allocations: 4.323 MB / 0.9859 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.7064, allocations: 7.984 kB / 0.9859 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.7064, allocations: 12.02 kB / 0.9859 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.7064, allocations: 0 / 0.9859 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.7065, allocations: 15.94 kB / 0.9859 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.7066, allocations: 3.984 kB / 0.9859 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008341/0.7074, allocations: 232.2 kB / 0.9862 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.7075, allocations: 23.98 kB / 0.9862 GB, free: 14.86 MB / 0.7481 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.000634/0.7081, allocations: 361.6 kB / 0.9865 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.7082, allocations: 130 kB / 0.9867 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.7086, allocations: 149 kB / 0.9868 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.7086, allocations: 0 / 0.9868 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7086, allocations: 0 / 0.9868 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7087, allocations: 0 / 0.9868 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007318/0.7094, allocations: 0.6794 MB / 0.9875 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7094, allocations: 0 / 0.9875 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.7095, allocations: 15.94 kB / 0.9875 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.7095, allocations: 4.031 kB / 0.9875 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.7095, allocations: 3.984 kB / 0.9875 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.7095, allocations: 4 kB / 0.9875 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7095, allocations: 0 / 0.9875 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009808/0.7105, allocations: 1.059 MB / 0.9885 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.7107, allocations: 199.1 kB / 0.9887 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.549e-05/0.7108, allocations: 3.984 kB / 0.9887 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.711, allocations: 7.938 kB / 0.9887 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.7111, allocations: 11.92 kB / 0.9887 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.7111, allocations: 11.98 kB / 0.9888 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001248/0.7124, allocations: 1.104 MB / 0.9898 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7124, allocations: 0 / 0.9898 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00126/0.7136, allocations: 439.8 kB / 0.9903 GB, free: 10.55 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.00125/0.7149, allocations: 476.7 kB / 0.9907 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002459/0.7174, allocations: 2.652 MB / 0.9933 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7174, allocations: 0 / 0.9933 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.7177, allocations: 347.7 kB / 0.9936 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.7183, allocations: 48.12 kB / 0.9937 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.7216, allocations: 2.863 MB / 0.9965 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/0.7223, allocations: 1.15 MB / 0.9976 GB, free: 2.953 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001867/0.7225, allocations: 32.55 kB / 0.9976 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.53e-05/0.7226, allocations: 23.42 kB / 0.9976 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of SimCode: time 3.7e-07/0.7226, allocations: 0 / 0.9976 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of Templates: time 0.01838/0.741, allocations: 9.753 MB / 1.007 GB, free: 9.18 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/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