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.006171/0.006171, allocations: 100.7 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.001284/0.001284, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 59.91 kB / 1.054 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3121, allocations: 157.4 MB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001854/0.314, allocations: 0.5663 MB / 1.208 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3154, allocations: 0.9992 MB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.3154, allocations: 0 / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.3155, allocations: 0 / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008168/0.3163, allocations: 95.77 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.904e-05/0.3164, allocations: 11.92 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.042e-05/0.3164, allocations: 7.984 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.198e-05/0.3165, allocations: 0 / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.422e-05/0.3165, allocations: 8 kB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.3168, allocations: 42.95 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3168, allocations: 0 / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.317, allocations: 87.84 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.317, allocations: 0 / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.317, allocations: 8 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.3172, allocations: 64.2 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3172, allocations: 3.938 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3172, allocations: 0 / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3173, allocations: 0 / 1.209 GB, free: 8.18 MB / 0.9669 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.0003197/0.3176, allocations: 339.5 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3176, allocations: 16.56 kB / 1.21 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.3177, allocations: 30.75 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.3177, allocations: 4.844 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.3178, allocations: 164.4 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3178, allocations: 384 / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-06/0.3179, allocations: 384 / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.722e-05/0.3179, allocations: 37.62 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.318, allocations: 7.922 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.318, allocations: 0 / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.318, allocations: 4 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.318, allocations: 0 / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.3184, allocations: 468.6 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.3185, allocations: 165.1 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.3185, allocations: 80.14 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3185, allocations: 83.22 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.3186, allocations: 109.8 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.3186, allocations: 0 / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.458e-05/0.3187, allocations: 25.7 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.3187, allocations: 130.7 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.3188, allocations: 97.86 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.3189, allocations: 25.7 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.3189, allocations: 88.14 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.3189, allocations: 0 / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.3189, allocations: 13.72 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.319, allocations: 322.8 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.3191, allocations: 0 / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-06/0.3191, allocations: 3.938 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.656e-05/0.3191, allocations: 8.859 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3191, allocations: 8 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001044/0.3192, allocations: 29.7 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3192, allocations: 8 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3192, allocations: 4 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3193, allocations: 0 / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.005e-05/0.3193, allocations: 3.984 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3193, allocations: 0 / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.3193, allocations: 0 / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.3193, allocations: 0 / 1.211 GB, free: 5.691 MB / 0.9669 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 9.003e-05/0.3194, allocations: 197.1 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.3195, allocations: 109.3 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.3195, allocations: 104.1 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-05/0.3196, allocations: 188.2 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.377e-05/0.3196, allocations: 180.3 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.065e-05/0.3197, allocations: 184.3 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.3199, allocations: 417.1 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.318e-05/0.3199, allocations: 101 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.32, allocations: 104.9 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.215e-05/0.32, allocations: 180.3 kB / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.707e-05/0.3201, allocations: 180.3 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-05/0.3202, allocations: 184.2 kB / 1.213 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-05/0.3202, allocations: 180.2 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.3203, allocations: 307.7 kB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/0.3204, allocations: 182 kB / 1.214 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.767e-05/0.3205, allocations: 188.2 kB / 1.214 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.3206, allocations: 101 kB / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.3206, allocations: 180.2 kB / 1.214 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.3207, allocations: 101 kB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.3207, allocations: 87.45 kB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3207, allocations: 0 / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002633/0.321, allocations: 20 kB / 1.215 GB, free: 2.07 MB / 0.9669 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.0006204/0.3216, allocations: 0.8718 MB / 1.216 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.007e-05/0.3217, allocations: 11.94 kB / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3217, allocations: 0 / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.3217, allocations: 0 / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.322, allocations: 459.7 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.3226, allocations: 241.8 kB / 1.216 GB, free: 444 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.3229, allocations: 0.6768 MB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.3229, allocations: 4 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.3229, allocations: 7.438 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3229, allocations: 3.938 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.3411, allocations: 1.569 MB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.812, allocations: 11.39 kB / 1.218 GB, free: 14.35 MB / 0.9825 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