Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007725/0.007725, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.001786/0.001785, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 71.89 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8133/0.8147, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001525/0.8163, allocations: 0.5583 MB / 1.167 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.8175, allocations: 1.009 MB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.8175, allocations: 0 / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.8175, allocations: 4 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0006536/0.8182, allocations: 99.75 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.192e-05/0.8182, allocations: 8 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.481e-05/0.8183, allocations: 7.938 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.8183, allocations: 0 / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.665e-05/0.8183, allocations: 4 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.8185, allocations: 27.97 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.8186, allocations: 3.938 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.8187, allocations: 83.91 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.8188, allocations: 7.938 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.659e-05/0.8188, allocations: 0 / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.8189, allocations: 74.16 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8189, allocations: 0 / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8189, allocations: 0 / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.819, allocations: 0 / 1.168 GB, free: 1.836 MB / 0.8887 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.0003077/0.8193, allocations: 335.5 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.8193, allocations: 12.92 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.8193, allocations: 30.75 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.8194, allocations: 0.9375 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.8195, allocations: 180.2 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-06/0.8195, allocations: 384 / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.8195, allocations: 4.375 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.599e-05/0.8196, allocations: 29.64 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.8196, allocations: 0 / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.8196, allocations: 4 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.8196, allocations: 0 / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.752e-05/0.8197, allocations: 0 / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.82, allocations: 476.6 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.871e-05/0.8201, allocations: 169.1 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.8202, allocations: 80.14 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.8202, allocations: 75.28 kB / 1.169 GB, free: 292 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.8202, allocations: 113.8 kB / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.8202, allocations: 0 / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 6.06e-05/0.8203, allocations: 33.64 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.8204, allocations: 126.7 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.8205, allocations: 105.8 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.8205, allocations: 25.7 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.8205, allocations: 84.14 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.8205, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.8206, allocations: 13.72 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.8207, allocations: 314.8 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.8207, allocations: 4 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-06/0.8207, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/0.8207, allocations: 16.84 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.8207, allocations: 0 / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.761e-05/0.8208, allocations: 37.64 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.8208, allocations: 4 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.8208, allocations: 8.031 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8209, allocations: 4 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.5e-05/0.8209, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.8209, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.18e-05/0.8209, allocations: 3.938 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.8209, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 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.475e-05/0.821, allocations: 185.1 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.8211, allocations: 109 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.8211, allocations: 116 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.362e-05/0.8212, allocations: 176.3 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.946e-05/0.8212, allocations: 184.2 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-05/0.8213, allocations: 180.2 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.8215, allocations: 405.2 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.08e-05/0.8216, allocations: 112.9 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.8216, allocations: 105 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.974e-05/0.8217, allocations: 180.2 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/0.8217, allocations: 176.3 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-05/0.8218, allocations: 180.3 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.576e-05/0.8219, allocations: 184.2 kB / 1.172 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.822, allocations: 323.8 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.8221, allocations: 178.3 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.8221, allocations: 176.3 kB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.8222, allocations: 112.9 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.8223, allocations: 188.2 kB / 1.173 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.8223, allocations: 104.9 kB / 1.173 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.747e-05/0.8224, allocations: 79.28 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8224, allocations: 0 / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002372/0.8226, allocations: 23.98 kB / 1.174 GB, free: 11.7 MB / 0.9044 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.0005945/0.8232, allocations: 0.8636 MB / 1.174 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.142e-05/0.8233, allocations: 7.938 kB / 1.174 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8233, allocations: 0 / 1.174 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.8233, allocations: 0 / 1.174 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.8236, allocations: 467.6 kB / 1.175 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.8241, allocations: 238.6 kB / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.8244, allocations: 0.669 MB / 1.176 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.8244, allocations: 11.94 kB / 1.176 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.8245, allocations: 11.44 kB / 1.176 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.8245, allocations: 0 / 1.176 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.841, allocations: 1.565 MB / 1.177 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/8.365, allocations: 12.7 kB / 1.177 GB, free: 7.996 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches