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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 108.3 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 190.6 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.539/2.539, allocations: 489.7 MB / 0.7755 GB, free: 2.477 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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 0.001845/0.001845, allocations: 67.89 kB / 1.126 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7217/0.7235, allocations: 172.1 MB / 1.294 GB, free: 38.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001301/0.7248, allocations: 0.5573 MB / 1.294 GB, free: 38.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007874/0.7256, allocations: 1.045 MB / 1.295 GB, free: 37.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.488e-05/0.7256, allocations: 0 / 1.295 GB, free: 37.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.7256, allocations: 0 / 1.295 GB, free: 37.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000626/0.7263, allocations: 120.8 kB / 1.296 GB, free: 37.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.876e-05/0.7263, allocations: 24.16 kB / 1.296 GB, free: 37.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.297e-05/0.7263, allocations: 2.594 kB / 1.296 GB, free: 37.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.7264, allocations: 3.375 kB / 1.296 GB, free: 37.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.241e-05/0.7264, allocations: 2.812 kB / 1.296 GB, free: 37.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.7265, allocations: 42.12 kB / 1.296 GB, free: 37.22 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.844e-06/0.7265, allocations: 4 kB / 1.296 GB, free: 37.21 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.7267, allocations: 116.8 kB / 1.296 GB, free: 37.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.923e-06/0.7267, allocations: 3.938 kB / 1.296 GB, free: 37.17 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.476e-05/0.7267, allocations: 6.594 kB / 1.296 GB, free: 37.17 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.7268, allocations: 100.2 kB / 1.296 GB, free: 37.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.7268, allocations: 0 / 1.296 GB, free: 37.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7268, allocations: 0 / 1.296 GB, free: 37.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.7268, allocations: 0 / 1.296 GB, free: 37.14 MB / 1.061 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.0002123/0.727, allocations: 347.1 kB / 1.296 GB, free: 36.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.7271, allocations: 8.969 kB / 1.296 GB, free: 36.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.54e-05/0.7271, allocations: 34.75 kB / 1.296 GB, free: 36.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.799e-05/0.7271, allocations: 3.812 kB / 1.296 GB, free: 36.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.404e-05/0.7272, allocations: 166.8 kB / 1.296 GB, free: 36.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.441e-06/0.7272, allocations: 384 / 1.296 GB, free: 36.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.7272, allocations: 384 / 1.296 GB, free: 36.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.668e-05/0.7272, allocations: 32.58 kB / 1.296 GB, free: 36.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.7272, allocations: 0 / 1.296 GB, free: 36.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-06/0.7272, allocations: 3.938 kB / 1.296 GB, free: 36.49 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-06/0.7272, allocations: 0 / 1.296 GB, free: 36.49 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.276e-05/0.7273, allocations: 10.05 kB / 1.296 GB, free: 36.49 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.7275, allocations: 464.5 kB / 1.297 GB, free: 35.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 2.937e-05/0.7275, allocations: 169.1 kB / 1.297 GB, free: 35.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.093e-05/0.7275, allocations: 84.12 kB / 1.297 GB, free: 35.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-06/0.7275, allocations: 90.44 kB / 1.297 GB, free: 35.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.7275, allocations: 108.8 kB / 1.297 GB, free: 35.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.7275, allocations: 0 / 1.297 GB, free: 35.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 5.013e-05/0.7276, allocations: 25.7 kB / 1.297 GB, free: 35.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.7276, allocations: 126.7 kB / 1.297 GB, free: 35.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.685e-05/0.7277, allocations: 103.4 kB / 1.298 GB, free: 35.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.536e-06/0.7277, allocations: 25.7 kB / 1.298 GB, free: 35.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.306e-05/0.7277, allocations: 87.52 kB / 1.298 GB, free: 35.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.7277, allocations: 0 / 1.298 GB, free: 35.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.7277, allocations: 9.719 kB / 1.298 GB, free: 35.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 2.723e-05/0.7277, allocations: 321.6 kB / 1.298 GB, free: 34.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-06/0.7277, allocations: 0 / 1.298 GB, free: 34.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-06/0.7277, allocations: 7.219 kB / 1.298 GB, free: 34.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.578e-05/0.7277, allocations: 7.797 kB / 1.298 GB, free: 34.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.7277, allocations: 0 / 1.298 GB, free: 34.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.783e-05/0.7278, allocations: 39.53 kB / 1.298 GB, free: 34.74 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/0.7278, allocations: 6.094 kB / 1.298 GB, free: 34.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.7278, allocations: 0 / 1.298 GB, free: 34.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.7278, allocations: 0 / 1.298 GB, free: 34.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.045e-05/0.7278, allocations: 0 / 1.298 GB, free: 34.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.7279, allocations: 6.562 kB / 1.298 GB, free: 34.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.7279, allocations: 3.938 kB / 1.298 GB, free: 34.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.7279, allocations: 0 / 1.298 GB, free: 34.74 MB / 1.061 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 3.374e-05/0.7279, allocations: 193.1 kB / 1.298 GB, free: 34.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.7279, allocations: 112 kB / 1.298 GB, free: 34.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.568e-05/0.728, allocations: 104.1 kB / 1.298 GB, free: 34.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.728, allocations: 186.8 kB / 1.299 GB, free: 34.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.728, allocations: 176.3 kB / 1.299 GB, free: 33.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.728, allocations: 176.3 kB / 1.299 GB, free: 33.78 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.7281, allocations: 416.4 kB / 1.299 GB, free: 33.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.7281, allocations: 105 kB / 1.299 GB, free: 33.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-06/0.7281, allocations: 104.9 kB / 1.3 GB, free: 33.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/0.7281, allocations: 179.2 kB / 1.3 GB, free: 32.92 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.7282, allocations: 183.6 kB / 1.3 GB, free: 32.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.601e-05/0.7282, allocations: 183.6 kB / 1.3 GB, free: 32.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.586e-05/0.7282, allocations: 180.3 kB / 1.3 GB, free: 32.37 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.63e-05/0.7282, allocations: 310 kB / 1.301 GB, free: 32.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.851e-05/0.7283, allocations: 182.1 kB / 1.301 GB, free: 31.85 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.7283, allocations: 183.2 kB / 1.301 GB, free: 31.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.7283, allocations: 108.4 kB / 1.301 GB, free: 31.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.7283, allocations: 183 kB / 1.301 GB, free: 31.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.7284, allocations: 101 kB / 1.301 GB, free: 31.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.072e-05/0.7284, allocations: 86.12 kB / 1.301 GB, free: 31.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7284, allocations: 0 / 1.301 GB, free: 31.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002457/0.7286, allocations: 30.64 kB / 1.301 GB, free: 31.18 MB / 1.061 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.0003296/0.729, allocations: 0.8685 MB / 1.302 GB, free: 30.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.851e-05/0.729, allocations: 2.906 kB / 1.302 GB, free: 30.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.729, allocations: 4.062 kB / 1.302 GB, free: 30.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.729, allocations: 3.25 kB / 1.302 GB, free: 30.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.7292, allocations: 467.2 kB / 1.303 GB, free: 29.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.7296, allocations: 262.1 kB / 1.303 GB, free: 29.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.051e-05/0.7296, allocations: 0.679 MB / 1.304 GB, free: 28.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.7297, allocations: 3.094 kB / 1.304 GB, free: 28.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.7297, allocations: 10.66 kB / 1.304 GB, free: 28.93 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.7297, allocations: 0 / 1.304 GB, free: 28.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.7518, allocations: 1.639 MB / 1.305 GB, free: 28.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.955/7.707, allocations: 2.031 kB / 1.305 GB, free: 28.5 MB / 1.061 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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 420.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins1/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: 13.039159333002317]