Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007854/0.0007854, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008358/0.0008358, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8742/0.8742, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.714/1.714, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.981 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.712e-05, allocations: 2.281 kB / 0.981 GB, free: 2.488 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00102/0.001037, allocations: 0.5855 MB / 0.9816 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.002102, allocations: 1.011 MB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.002124, allocations: 0 / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.002141, allocations: 0 / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0006098/0.002751, allocations: 103.7 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 2.819e-05/0.002779, allocations: 11.92 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.684e-05/0.002836, allocations: 4 kB / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.002883, allocations: 0 / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.351e-05/0.002916, allocations: 8 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.003105, allocations: 27.97 kB / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.003119, allocations: 4 kB / 0.9827 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.003254, allocations: 87.77 kB / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.003263, allocations: 0 / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.003278, allocations: 3.984 kB / 0.9828 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.003415, allocations: 83.84 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.003417, allocations: 0 / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003418, allocations: 0 / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.003422, allocations: 0 / 0.9829 GB, free: 0.5508 MB / 0.9323 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.0002481/0.00367, allocations: 262.3 kB / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.003707, allocations: 8.031 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.666e-05/0.003734, allocations: 30.75 kB / 0.9832 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.003756, allocations: 8.922 kB / 0.9832 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.746e-05/0.003834, allocations: 105.8 kB / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.003843, allocations: 384 / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.00385, allocations: 384 / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.764e-05/0.003937, allocations: 34.2 kB / 0.9833 GB, free: 44 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.003943, allocations: 4.125 kB / 0.9833 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.003951, allocations: 3.938 kB / 0.9834 GB, free: 36 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.003956, allocations: 0 / 0.9834 GB, free: 36 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.537e-05/0.003971, allocations: 0 / 0.9834 GB, free: 36 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.004341, allocations: 362.6 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.937e-05/0.0044, allocations: 181.1 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.184e-05/0.004422, allocations: 84.08 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.004439, allocations: 75.28 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.00447, allocations: 109.8 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.004471, allocations: 3.938 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 4.915e-05/0.00452, allocations: 25.7 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.004561, allocations: 126.7 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.004638, allocations: 113.7 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.004647, allocations: 25.7 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.004674, allocations: 80.14 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-06/0.004676, allocations: 4 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.0047, allocations: 13.72 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.004779, allocations: 314.8 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-06/0.004787, allocations: 3.938 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-06/0.004792, allocations: 4 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.004816, allocations: 4.859 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004817, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.814e-05/0.004905, allocations: 41.62 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.004919, allocations: 6.969 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.004923, allocations: 96 / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.004934, allocations: 4 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.49e-05/0.004949, allocations: 0 / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.004953, allocations: 0 / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-06/0.004962, allocations: 4 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.004967, allocations: 3.938 kB / 0.9849 GB, free: 14.35 MB / 0.948 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.432e-05/0.005031, allocations: 185.1 kB / 0.985 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.005068, allocations: 113 kB / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.005099, allocations: 108.2 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.249e-05/0.005142, allocations: 184.2 kB / 0.9854 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-05/0.005186, allocations: 180.3 kB / 0.9856 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.269e-05/0.005228, allocations: 184.2 kB / 0.9858 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.005369, allocations: 384.2 kB / 0.9861 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/0.005392, allocations: 101 kB / 0.9862 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.005419, allocations: 104.9 kB / 0.9863 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-05/0.005462, allocations: 180.3 kB / 0.9865 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.005505, allocations: 188.2 kB / 0.9867 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.083e-05/0.005546, allocations: 176.3 kB / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-05/0.005587, allocations: 184.3 kB / 0.987 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.074e-05/0.005677, allocations: 307.9 kB / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.00571, allocations: 116.9 kB / 0.9874 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.005758, allocations: 180.3 kB / 0.9876 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.005809, allocations: 101 kB / 0.9877 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.005857, allocations: 184.2 kB / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.005881, allocations: 105 kB / 0.988 GB, free: 10.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.005909, allocations: 83.28 kB / 0.9881 GB, free: 10.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005909, allocations: 0 / 0.9881 GB, free: 10.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001728/0.006082, allocations: 23.88 kB / 0.9881 GB, free: 10.85 MB / 0.948 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.0004407/0.006522, allocations: 0.8786 MB / 0.9889 GB, free: 9.957 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.145e-05/0.006574, allocations: 0 / 0.9889 GB, free: 9.957 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.006576, allocations: 4 kB / 0.989 GB, free: 9.953 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.006578, allocations: 0 / 0.989 GB, free: 9.953 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.006808, allocations: 455.6 kB / 0.9894 GB, free: 9.504 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.00728, allocations: 237.6 kB / 0.9896 GB, free: 9.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.256e-05/0.007313, allocations: 59.34 kB / 0.9897 GB, free: 9.152 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.995e-05/0.007333, allocations: 4.062 kB / 0.9897 GB, free: 9.148 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.007356, allocations: 12.5 kB / 0.9897 GB, free: 9.137 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.007356, allocations: 0 / 0.9897 GB, free: 9.137 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.02164, allocations: 2.204 MB / 0.9918 GB, free: 7.141 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.563, allocations: 4.016 kB / 0.9918 GB, free: 7.141 MB / 0.948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.537061784416437]