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: "" <> 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.001534/0.001534, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.302/2.302, allocations: 390.2 MB / 0.6647 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 71.88 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7057/0.707, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0019/0.709, allocations: 0.5581 MB / 0.9503 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.7101, allocations: 0.989 MB / 0.9513 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.7102, allocations: 0 / 0.9513 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.7102, allocations: 0 / 0.9513 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006645/0.7109, allocations: 97.39 kB / 0.9514 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.313e-05/0.7109, allocations: 8.125 kB / 0.9514 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.357e-05/0.711, allocations: 2.844 kB / 0.9514 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.711, allocations: 2.562 kB / 0.9514 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.78e-05/0.711, allocations: 5.469 kB / 0.9514 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.7113, allocations: 32.77 kB / 0.9514 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.7113, allocations: 0 / 0.9514 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.7115, allocations: 79.97 kB / 0.9515 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.457e-06/0.7115, allocations: 5.312 kB / 0.9515 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.7115, allocations: 1.594 kB / 0.9515 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.7117, allocations: 75 kB / 0.9516 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.7117, allocations: 1.281 kB / 0.9516 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7117, allocations: 0 / 0.9516 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.7117, allocations: 0 / 0.9516 GB, free: 7.801 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.0002788/0.712, allocations: 334.4 kB / 0.9519 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.712, allocations: 14.16 kB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.474e-05/0.7121, allocations: 30.75 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.7121, allocations: 1.906 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/0.7122, allocations: 165.5 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.7122, allocations: 5.5 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.7122, allocations: 384 / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.207e-05/0.7123, allocations: 35.72 kB / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.7123, allocations: 0 / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.7123, allocations: 1.094 kB / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.7123, allocations: 3.938 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.817e-05/0.7123, allocations: 2.281 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.7127, allocations: 466 kB / 0.9526 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.497e-05/0.7127, allocations: 166.4 kB / 0.9527 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.7128, allocations: 85.11 kB / 0.9528 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.7128, allocations: 75.28 kB / 0.9529 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.7128, allocations: 115 kB / 0.953 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.7128, allocations: 4 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.094e-05/0.7129, allocations: 34.81 kB / 0.953 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.7129, allocations: 127.6 kB / 0.9532 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.713, allocations: 98.36 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.7131, allocations: 26.92 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.7131, allocations: 80.14 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/0.7131, allocations: 1.156 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.7131, allocations: 15.73 kB / 0.9534 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.239e-05/0.7132, allocations: 319.9 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.7132, allocations: 1.094 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-06/0.7132, allocations: 1.188 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.7133, allocations: 15.02 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7133, allocations: 0 / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.775e-05/0.7134, allocations: 35.08 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7134, allocations: 7.031 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7134, allocations: 5.141 kB / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.7134, allocations: 4.094 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.978e-05/0.7135, allocations: 4.938 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.7135, allocations: 0 / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.7135, allocations: 1.469 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.7135, allocations: 3.938 kB / 0.9537 GB, free: 5.375 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 6.454e-05/0.7136, allocations: 190.3 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.7136, allocations: 106.5 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.7137, allocations: 117.5 kB / 0.9541 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/0.7137, allocations: 185.3 kB / 0.9543 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.878e-05/0.7137, allocations: 177.7 kB / 0.9545 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-05/0.7138, allocations: 177.8 kB / 0.9547 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.7139, allocations: 411.8 kB / 0.9551 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/0.7139, allocations: 101 kB / 0.9551 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.7139, allocations: 110.2 kB / 0.9553 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.043e-05/0.714, allocations: 177.6 kB / 0.9554 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.714, allocations: 177.3 kB / 0.9556 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.068e-05/0.7141, allocations: 185.4 kB / 0.9558 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.114e-05/0.7141, allocations: 180.3 kB / 0.9559 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.804e-05/0.7142, allocations: 311.5 kB / 0.9562 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.7142, allocations: 183.8 kB / 0.9564 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.7143, allocations: 185.5 kB / 0.9566 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.7143, allocations: 106.3 kB / 0.9567 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.7144, allocations: 181.5 kB / 0.9569 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.7144, allocations: 109 kB / 0.957 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.146e-05/0.7144, allocations: 83.05 kB / 0.957 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7144, allocations: 3.938 kB / 0.9571 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002778/0.7147, allocations: 23.28 kB / 0.9571 GB, free: 1.785 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.0005095/0.7152, allocations: 0.8551 MB / 0.9579 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.457e-05/0.7153, allocations: 3 kB / 0.9579 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7153, allocations: 0 / 0.9579 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.7153, allocations: 0 / 0.9579 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.7156, allocations: 463.3 kB / 0.9584 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.7162, allocations: 237.2 kB / 0.9586 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.7165, allocations: 0.6737 MB / 0.9592 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.526e-05/0.7165, allocations: 6.359 kB / 0.9592 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.7165, allocations: 13.75 kB / 0.9593 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7165, allocations: 0 / 0.9593 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.7345, allocations: 1.511 MB / 0.9607 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.499, allocations: 17.38 kB / 0.9607 GB, free: 14.73 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