Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_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_9_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.001086/0.001086, allocations: 118 kB / 16.42 MB, free: 6.445 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.001104/0.001104, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.209/2.209, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.88 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.773, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001696/0.7748, allocations: 0.5686 MB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.7759, allocations: 0.9845 MB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.7759, allocations: 1.281 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.776, allocations: 0 / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006088/0.7766, allocations: 85.88 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.373e-05/0.7766, allocations: 17.72 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.706e-05/0.7767, allocations: 12.31 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.7767, allocations: 5.906 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.751e-05/0.7768, allocations: 2.359 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.777, allocations: 27.64 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.777, allocations: 0.9062 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.7772, allocations: 75.27 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.7772, allocations: 1.125 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.796e-05/0.7772, allocations: 5.062 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.7774, allocations: 69.56 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7774, allocations: 7.938 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7774, allocations: 0.9062 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.7774, allocations: 0 / 1.09 GB, free: 4.328 MB / 0.8575 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.0002407/0.7776, allocations: 328.2 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.7777, allocations: 14.33 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.7777, allocations: 0.9375 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.38e-05/0.7778, allocations: 167.5 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.7778, allocations: 1.281 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.7778, allocations: 1.188 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.128e-05/0.7779, allocations: 37.14 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.7779, allocations: 0 / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.7779, allocations: 0.5625 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.7779, allocations: 1.094 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.619e-05/0.7779, allocations: 1.578 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.7782, allocations: 467.8 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.937e-05/0.7783, allocations: 178.9 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.337e-05/0.7783, allocations: 81.02 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.7783, allocations: 79.28 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.7783, allocations: 107.5 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.7783, allocations: 3.984 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.198e-05/0.7784, allocations: 32.31 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.427e-05/0.7784, allocations: 56.2 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.3e-05/0.7785, allocations: 104.6 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.713e-06/0.7785, allocations: 26.8 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.009e-05/0.7785, allocations: 80.84 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.7786, allocations: 0.9688 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.7786, allocations: 12.67 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.7786, allocations: 312.5 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.7786, allocations: 1.062 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.7787, allocations: 5.609 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.484e-05/0.7787, allocations: 16.05 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7787, allocations: 0 / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.885e-05/0.7788, allocations: 35.52 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.7788, allocations: 6.203 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.7788, allocations: 1.188 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.7788, allocations: 0 / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-05/0.7789, allocations: 4.516 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.7789, allocations: 5.375 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.7789, allocations: 0.5625 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.7789, allocations: 1.094 kB / 1.093 GB, free: 2.047 MB / 0.8575 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 4.894e-05/0.7789, allocations: 186.9 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.779, allocations: 103.4 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.779, allocations: 118.8 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/0.7791, allocations: 177.6 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/0.7791, allocations: 110 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.7791, allocations: 180.2 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.13e-05/0.7792, allocations: 178.5 kB / 1.094 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.7793, allocations: 106.7 kB / 1.094 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.7794, allocations: 181.9 kB / 1.094 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001044/0.7795, allocations: 266 kB / 1.094 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000159/0.7797, allocations: 373.2 kB / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.698e-05/0.7797, allocations: 114.8 kB / 1.095 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.7798, allocations: 80.09 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Backend: time 3.61e-07/0.7798, allocations: 0 / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005734/0.7804, allocations: 148 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0004445/0.7808, allocations: 0.8363 MB / 1.096 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.003124/0.7839, allocations: 0.6934 MB / 1.096 GB, free: 14.78 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches