Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007499/0.007499, allocations: 101.6 kB / 15.73 MB, free: 6.043 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.00174/0.00174, allocations: 200.8 kB / 16.68 MB, free: 5.961 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.489/2.489, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.84 kB / 1.054 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7781/0.7795, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001794/0.7813, allocations: 0.5683 MB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.7828, allocations: 0.9953 MB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.7828, allocations: 7.938 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.7828, allocations: 0 / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007978/0.7837, allocations: 91.78 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.542e-05/0.7838, allocations: 11.98 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.438e-05/0.7838, allocations: 7.938 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.201e-05/0.7839, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.042e-05/0.7839, allocations: 4 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.7841, allocations: 35.91 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.7842, allocations: 0 / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.7844, allocations: 79.91 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.7844, allocations: 4 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.7844, allocations: 7.922 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.7846, allocations: 78.16 kB / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7846, allocations: 0 / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7846, allocations: 0 / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.7846, allocations: 0 / 1.209 GB, free: 11.65 MB / 0.9356 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.0003436/0.785, allocations: 327.6 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.785, allocations: 12.03 kB / 1.209 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.7851, allocations: 38.69 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.7851, allocations: 4.938 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.7852, allocations: 168.3 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.7852, allocations: 12.3 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-06/0.7852, allocations: 384 / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.271e-05/0.7853, allocations: 29.64 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.7854, allocations: 0 / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.7854, allocations: 0 / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.7854, allocations: 0 / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.7854, allocations: 4 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.7858, allocations: 472.6 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.808e-05/0.7859, allocations: 173.1 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.7859, allocations: 80.14 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.786, allocations: 75.28 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.786, allocations: 113.8 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.786, allocations: 0 / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.358e-05/0.7861, allocations: 29.7 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.7862, allocations: 130.6 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.7863, allocations: 101.8 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.7863, allocations: 25.7 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.7863, allocations: 84.12 kB / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.7863, allocations: 0 / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.7864, allocations: 17.72 kB / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.7865, allocations: 318.8 kB / 1.211 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-06/0.7865, allocations: 0 / 1.211 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.7865, allocations: 4 kB / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.7865, allocations: 4.859 kB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7866, allocations: 4 kB / 1.211 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001008/0.7867, allocations: 41.62 kB / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7867, allocations: 10.12 kB / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7867, allocations: 0 / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.7867, allocations: 3.938 kB / 1.211 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.84e-05/0.7867, allocations: 4 kB / 1.211 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.7867, allocations: 0 / 1.211 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.7868, allocations: 0 / 1.211 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.7868, allocations: 0 / 1.211 GB, free: 9.156 MB / 0.9356 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.811e-05/0.7869, allocations: 193 kB / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.7869, allocations: 109 kB / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.787, allocations: 112 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.107e-05/0.787, allocations: 176.3 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.815e-05/0.7871, allocations: 176.3 kB / 1.212 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.176e-05/0.7871, allocations: 184.2 kB / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.7873, allocations: 405.2 kB / 1.213 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.484e-05/0.7874, allocations: 108.9 kB / 1.213 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.7874, allocations: 105 kB / 1.213 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.388e-05/0.7875, allocations: 176.3 kB / 1.213 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.7875, allocations: 184.2 kB / 1.213 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.73e-05/0.7876, allocations: 180.3 kB / 1.213 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.833e-05/0.7877, allocations: 192.2 kB / 1.214 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.7878, allocations: 311.9 kB / 1.214 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.7878, allocations: 186.1 kB / 1.214 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.7879, allocations: 176.3 kB / 1.214 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.788, allocations: 104.9 kB / 1.214 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.788, allocations: 184.3 kB / 1.214 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.7881, allocations: 104.9 kB / 1.215 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.7881, allocations: 91.44 kB / 1.215 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7881, allocations: 0 / 1.215 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002454/0.7884, allocations: 20 kB / 1.215 GB, free: 5.527 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006349/0.789, allocations: 0.8543 MB / 1.216 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.929e-05/0.7891, allocations: 7.984 kB / 1.216 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7891, allocations: 0 / 1.216 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.827e-06/0.7891, allocations: 3.938 kB / 1.216 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.7895, allocations: 459.7 kB / 1.216 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.79, allocations: 237.8 kB / 1.216 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.7904, allocations: 0.6806 MB / 1.217 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.7905, allocations: 8 kB / 1.217 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.7905, allocations: 11.44 kB / 1.217 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.7905, allocations: 0 / 1.217 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.8083, allocations: 1.58 MB / 1.218 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.379/8.187, allocations: 12.05 kB / 1.218 GB, free: 1.812 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches