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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_9_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_9_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.001276/0.001277, allocations: 91.77 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.01126/0.01126, 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.447/1.447, 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.2-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.00033, allocations: 20.2 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6055/0.6058, allocations: 142.4 MB / 0.9552 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0005905/0.6064, allocations: 292.1 kB / 0.9555 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.6074, allocations: 0.9942 MB / 0.9565 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.156e-05/0.6074, allocations: 0 / 0.9565 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.6075, allocations: 0 / 0.9565 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005474/0.608, allocations: 84.03 kB / 0.9565 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.512e-05/0.608, allocations: 15.95 kB / 0.9566 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.106e-05/0.6081, allocations: 3.625 kB / 0.9566 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.6081, allocations: 4.891 kB / 0.9566 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.6081, allocations: 6.406 kB / 0.9566 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.6083, allocations: 32.91 kB / 0.9566 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.315e-06/0.6084, allocations: 0 / 0.9566 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.6085, allocations: 82.22 kB / 0.9567 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.256e-06/0.6085, allocations: 1.406 kB / 0.9567 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.6086, allocations: 31.52 kB / 0.9567 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.6087, allocations: 66.81 kB / 0.9568 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.6087, allocations: 1.812 kB / 0.9568 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6087, allocations: 4 kB / 0.9568 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.135e-06/0.6087, allocations: 0 / 0.9568 GB, free: 6.652 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001935/0.6089, allocations: 337.1 kB / 0.9571 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.6089, allocations: 10.12 kB / 0.9571 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.082e-05/0.609, allocations: 30.75 kB / 0.9571 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.76e-05/0.609, allocations: 4.875 kB / 0.9571 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.523e-05/0.6091, allocations: 167.6 kB / 0.9573 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.6091, allocations: 384 / 0.9573 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.6091, allocations: 384 / 0.9573 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.271e-05/0.6092, allocations: 44.42 kB / 0.9573 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.91e-06/0.6092, allocations: 0 / 0.9573 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.6092, allocations: 0 / 0.9573 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6092, allocations: 0 / 0.9573 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.416e-05/0.6092, allocations: 1.594 kB / 0.9573 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.6094, allocations: 464.2 kB / 0.9578 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.918e-05/0.6095, allocations: 177.1 kB / 0.958 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.291e-05/0.6095, allocations: 81.64 kB / 0.958 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.6095, allocations: 75.28 kB / 0.9581 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.6096, allocations: 111.2 kB / 0.9582 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.6096, allocations: 0 / 0.9582 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.202e-05/0.6096, allocations: 27.2 kB / 0.9582 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.6096, allocations: 130.7 kB / 0.9584 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.898e-05/0.6097, allocations: 106.8 kB / 0.9585 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.659e-06/0.6097, allocations: 25.7 kB / 0.9585 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.685e-05/0.6097, allocations: 85.61 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-06/0.6097, allocations: 0 / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.6098, allocations: 10.75 kB / 0.9586 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.497e-05/0.6098, allocations: 314.8 kB / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.732e-06/0.6098, allocations: 1.594 kB / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-06/0.6098, allocations: 5.531 kB / 0.9589 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.746e-05/0.6099, allocations: 6.297 kB / 0.9589 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.6099, allocations: 0 / 0.9589 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.715e-05/0.6099, allocations: 39.53 kB / 0.9589 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.61, allocations: 5.75 kB / 0.9589 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.61, allocations: 0 / 0.9589 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.61, allocations: 1.125 kB / 0.9589 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.133e-05/0.61, allocations: 3.938 kB / 0.9589 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.61, allocations: 1.438 kB / 0.9589 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.362e-05/0.61, allocations: 7.906 kB / 0.959 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.61, allocations: 5 kB / 0.959 GB, free: 4.227 MB / 0.7169 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.258e-05/0.6101, allocations: 190.2 kB / 0.9591 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.6101, allocations: 106.1 kB / 0.9592 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.6101, allocations: 117 kB / 0.9594 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.6102, allocations: 177.7 kB / 0.9595 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/0.6102, allocations: 189.5 kB / 0.9597 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.6102, allocations: 184.2 kB / 0.9599 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.6103, allocations: 404.1 kB / 0.9603 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.6104, allocations: 106.1 kB / 0.9604 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.6104, allocations: 105 kB / 0.9605 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.937e-05/0.6104, allocations: 182.1 kB / 0.9606 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.6104, allocations: 185.7 kB / 0.9608 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.909e-05/0.6104, allocations: 180.3 kB / 0.961 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.788e-05/0.6105, allocations: 181.7 kB / 0.9612 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.449e-05/0.6105, allocations: 307.4 kB / 0.9615 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.6106, allocations: 187.1 kB / 0.9616 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.6106, allocations: 177.9 kB / 0.9618 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-05/0.6106, allocations: 106.6 kB / 0.9619 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.6107, allocations: 184.2 kB / 0.9621 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.6107, allocations: 102.5 kB / 0.9622 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.312e-05/0.6107, allocations: 82.38 kB / 0.9623 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.02e-07/0.6107, allocations: 1.406 kB / 0.9623 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002333/0.611, allocations: 21.69 kB / 0.9623 GB, free: 0.6406 MB / 0.7169 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.0004295/0.6114, allocations: 0.8668 MB / 0.9631 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.538e-05/0.6115, allocations: 7.594 kB / 0.9631 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6115, allocations: 0 / 0.9631 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-06/0.6115, allocations: 3.938 kB / 0.9631 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.6118, allocations: 0.5223 MB / 0.9636 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.6123, allocations: 230.9 kB / 0.9639 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.6125, allocations: 0.675 MB / 0.9645 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.6125, allocations: 2.125 kB / 0.9645 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.6126, allocations: 9.719 kB / 0.9645 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.6126, allocations: 0 / 0.9645 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01049/0.6231, allocations: 1.316 MB / 0.9658 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.6233, allocations: 320.7 kB / 0.9661 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.403, allocations: 0 / 0.9661 GB, free: 13.37 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > 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