Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.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.0009415/0.0009415, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007896/0.0007896, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9102/0.9102, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.814/1.814, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.029e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001188/0.001209, allocations: 0.556 MB / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.002292, allocations: 1.035 MB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.002316, allocations: 0 / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.002334, allocations: 0 / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000631/0.002965, allocations: 135.6 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.639e-05/0.002991, allocations: 11.98 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.976e-05/0.003041, allocations: 4 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.003083, allocations: 3.938 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.401e-05/0.003117, allocations: 7.938 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.003298, allocations: 43.95 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.003311, allocations: 0 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.003475, allocations: 115.7 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.003484, allocations: 0 / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.641e-05/0.0035, allocations: 4 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.003672, allocations: 127.7 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.003675, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003676, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.00368, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 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.0002742/0.003954, allocations: 260.5 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.003995, allocations: 9.344 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.00403, allocations: 38.75 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.004054, allocations: 0.9375 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.973e-05/0.004134, allocations: 113.7 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.004144, allocations: 384 / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-06/0.00415, allocations: 4.375 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.004294, allocations: 34.2 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.004309, allocations: 192 / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.004316, allocations: 3.938 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.004321, allocations: 0 / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.563e-05/0.004337, allocations: 0 / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.004662, allocations: 362.6 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.9e-05/0.004731, allocations: 177 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.004756, allocations: 80.14 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.004775, allocations: 75.28 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.004812, allocations: 117.8 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.004812, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.678e-05/0.004869, allocations: 29.69 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.004912, allocations: 126.7 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.004997, allocations: 105.8 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.005005, allocations: 25.7 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.005034, allocations: 84.12 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.005038, allocations: 0 / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.005063, allocations: 13.72 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.005137, allocations: 318.8 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.005148, allocations: 8 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.005155, allocations: 4 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/0.005177, allocations: 4.859 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.005179, allocations: 4 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.647e-05/0.005265, allocations: 37.62 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.005277, allocations: 7.938 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.005282, allocations: 0 / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.005296, allocations: 4 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.63e-05/0.005313, allocations: 0 / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.005318, allocations: 96 / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.223e-05/0.00533, allocations: 11.89 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.005337, allocations: 0 / 1.004 GB, free: 9.203 MB / 0.9636 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.784e-05/0.005405, allocations: 189.1 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.005441, allocations: 104.9 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.005478, allocations: 108.2 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.284e-05/0.005521, allocations: 188.2 kB / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.141e-05/0.005562, allocations: 176.3 kB / 1.004 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.159e-05/0.005604, allocations: 180.2 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.00575, allocations: 380.2 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/0.005775, allocations: 101 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.0058, allocations: 112.9 kB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.104e-05/0.005841, allocations: 176.3 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.005882, allocations: 180.2 kB / 1.005 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.252e-05/0.005925, allocations: 192.3 kB / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.759e-05/0.005962, allocations: 176.3 kB / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.601e-05/0.006048, allocations: 303.7 kB / 1.006 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.006076, allocations: 112.9 kB / 1.006 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.006123, allocations: 180.3 kB / 1.006 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.006168, allocations: 105 kB / 1.006 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.006263, allocations: 180.2 kB / 1.007 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.006285, allocations: 108.9 kB / 1.007 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.006316, allocations: 83.27 kB / 1.007 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006316, allocations: 0 / 1.007 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001718/0.006488, allocations: 31.88 kB / 1.007 GB, free: 5.703 MB / 0.9636 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.0004662/0.006954, allocations: 0.879 MB / 1.008 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.964e-05/0.007014, allocations: 4 kB / 1.008 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007016, allocations: 4.062 kB / 1.008 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.007017, allocations: 0 / 1.008 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.007259, allocations: 456 kB / 1.008 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.007791, allocations: 257.5 kB / 1.008 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.748e-05/0.007829, allocations: 59.34 kB / 1.008 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.833e-05/0.007857, allocations: 8 kB / 1.008 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.007888, allocations: 12.5 kB / 1.008 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.007888, allocations: 0 / 1.008 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.02939, allocations: 2.325 MB / 1.011 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/8.33, allocations: 12.05 kB / 1.011 GB, free: 1.816 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.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: 12.757695659995079]