Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 118.9 kB / 16.42 MB, free: 6.5 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.001575/0.001575, allocations: 187.9 kB / 17.35 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.346/1.346, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.488/2.488, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 71.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7511/0.7525, allocations: 151.6 MB / 1.167 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002115/0.7546, allocations: 0.5683 MB / 1.168 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.756, allocations: 1.006 MB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.7561, allocations: 0 / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.7561, allocations: 0 / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000729/0.7568, allocations: 99.7 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.933e-05/0.7569, allocations: 15.94 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.364e-05/0.757, allocations: 4 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.757, allocations: 3.984 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.757, allocations: 4 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.7572, allocations: 27.97 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.158e-06/0.7572, allocations: 4 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.7574, allocations: 79.92 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.756e-06/0.7574, allocations: 0 / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.7575, allocations: 15.86 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.7576, allocations: 67.91 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7576, allocations: 0 / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7576, allocations: 0 / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.7577, allocations: 0 / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003487/0.758, allocations: 339.2 kB / 1.17 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.7581, allocations: 12.58 kB / 1.17 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.7581, allocations: 4.938 kB / 1.17 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.7582, allocations: 168.3 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.7582, allocations: 4.375 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-06/0.7582, allocations: 384 / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.652e-05/0.7583, allocations: 33.83 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.7583, allocations: 0 / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.7583, allocations: 0 / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.7583, allocations: 0 / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.7584, allocations: 7.938 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.7588, allocations: 476.5 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.132e-05/0.7588, allocations: 169.2 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.7589, allocations: 80.14 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.7589, allocations: 79.27 kB / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.759, allocations: 109.8 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 2.405e-06/0.759, allocations: 0 / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.764e-05/0.759, allocations: 37.64 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.7591, allocations: 51.41 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.7592, allocations: 97.84 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.7592, allocations: 25.7 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.7592, allocations: 84.14 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.7592, allocations: 0 / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.7593, allocations: 17.72 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.7594, allocations: 310.8 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.7594, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-06/0.7594, allocations: 4 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.798e-05/0.7595, allocations: 12.78 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7595, allocations: 7.875 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.518e-05/0.7596, allocations: 37.7 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.7596, allocations: 8.094 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.7596, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.7596, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.516e-05/0.7596, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.7596, allocations: 4 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.7597, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.7597, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.676e-05/0.7598, allocations: 189 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.005e-05/0.7598, allocations: 108.9 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.7599, allocations: 112 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-05/0.76, allocations: 176.3 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/0.76, allocations: 108.9 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-05/0.7601, allocations: 186.1 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.7602, allocations: 184.2 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.7602, allocations: 101 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.7603, allocations: 184.2 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.193e-05/0.7604, allocations: 259.5 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001656/0.7606, allocations: 386.9 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.013e-05/0.7606, allocations: 109.2 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.754e-05/0.7607, allocations: 83.28 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of Backend: time 6.01e-07/0.7607, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005596/0.7612, allocations: 140.1 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005004/0.7618, allocations: 0.8427 MB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of Templates: time 0.003126/0.7649, allocations: 0.7061 MB / 1.175 GB, free: 11.69 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches